feat: cleanup .local/bin
This commit is contained in:
parent
757b759b4a
commit
87d37712dd
21 changed files with 69 additions and 86 deletions
|
@ -108,8 +108,8 @@ echo "$$" > "$HOME/.cache/pidofbar"
|
|||
|
||||
sec=0
|
||||
while true; do
|
||||
[ "$((sec % 300))" = 10 ] && update_crypto
|
||||
[ "$((sec % 10))" = 0 ] && {
|
||||
[ "$((sec % 300))" -eq 5 ] && update_crypto
|
||||
[ "$((sec % 5))" -eq 0 ] && {
|
||||
update_cpu
|
||||
update_memory
|
||||
update_sink_vol
|
||||
|
@ -119,7 +119,7 @@ while true; do
|
|||
update_time
|
||||
display
|
||||
}
|
||||
((sec += 10))
|
||||
awk "@load \"time\"; BEGIN {d=10; s=$(date '+%S.%N'); sleep(d - s % d)}" &
|
||||
((sec += 5))
|
||||
awk "@load \"time\"; BEGIN {d=5; s=$(date '+%S.%N'); sleep(d - s % d)}" &
|
||||
wait
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue