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