mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-11-22 02:22:53 +00:00
Added delays to the updates modules
This commit is contained in:
parent
521863db53
commit
8f5c0b93c6
2 changed files with 6 additions and 2 deletions
|
@ -21,4 +21,6 @@ get_updates()
|
||||||
echo "$PREFIX$updates"
|
echo "$PREFIX$updates"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ $(( 10#$(date '+%M') % 3 )) -eq 0 ] && [ $(( 10#$(date '+%S') )) -eq 5 ]; then
|
||||||
get_updates
|
get_updates
|
||||||
|
fi
|
||||||
|
|
|
@ -13,4 +13,6 @@ get_updates()
|
||||||
echo "$PREFIX$updates"
|
echo "$PREFIX$updates"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ $(( 10#$(date '+%M') % 3 )) -eq 0 ] && [ $(( 10#$(date '+%S') )) -eq 5 ]; then
|
||||||
get_updates
|
get_updates
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue