mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2024-11-24 16:28:41 -05:00
bar_updates
This commit is contained in:
parent
f67c9240e8
commit
f5b9d041ec
@ -1,2 +1,2 @@
|
||||
LastUsed=1692984119
|
||||
LastUsed=1692985380
|
||||
Message='Fully Updated'
|
||||
|
@ -23,7 +23,6 @@ get_updates() {
|
||||
echo -e "LastUsed=${newtime}\nMessage='${updatecount}'" >$configFile
|
||||
else
|
||||
if [[ "$timestamp" -ge "$LastUsed" ]]; then
|
||||
updatecount=" $Message"
|
||||
printf "%s %s \n" "^c$Foreground^^b$Purple^ $icon " "^c$Foreground^^b$Purple_Bright^ $updatecount"
|
||||
newtime=$(expr $timestamp + 900)
|
||||
echo -e "LastUsed=${newtime}\nMessage='${updatecount}'" >$configFile
|
||||
|
Loading…
Reference in New Issue
Block a user