feat: desktop picom, sbar and .xinitrc

This commit is contained in:
AngeD 2023-03-28 01:04:38 +02:00
parent e99889674c
commit 77ea34c581
6 changed files with 8 additions and 12 deletions

View file

@ -54,10 +54,10 @@ update_time() {
# modules that don't update on their own need to be run at the start for getting their initial value
update_vol
update_backlight
#update_backlight
display() {
xsetroot -name "$crypto | $cpu | $memory | $vol | $backlight | $bat | $time"
xsetroot -name "$crypto | $cpu | $memory | $vol | $time"
}
# SIGNALING
@ -76,7 +76,7 @@ while true; do
[ $((sec % 5 )) -eq 0 ] && update_time
[ $((sec % 5 )) -eq 0 ] && update_cpu
[ $((sec % 5 )) -eq 0 ] && update_memory
[ $((sec % 5 )) -eq 0 ] && update_bat
#[ $((sec % 5 )) -eq 0 ] && update_bat
[ $((sec % 5 )) -eq 0 ] && display
sec="$((sec + 1))"