feat: desktop picom, sbar and .xinitrc
This commit is contained in:
parent
e99889674c
commit
77ea34c581
6 changed files with 8 additions and 12 deletions
6
bin/sbar
6
bin/sbar
|
@ -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))"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue