diff --git a/stow_home/spectrwm/.config/spectrwm/baraction.sh b/stow_home/spectrwm/.config/spectrwm/baraction.sh index 630fb2d..ae64094 100755 --- a/stow_home/spectrwm/.config/spectrwm/baraction.sh +++ b/stow_home/spectrwm/.config/spectrwm/baraction.sh @@ -40,13 +40,13 @@ vol() { volstat=$(pamixer --get-volume-human) vol=$(echo "$volstat") volicon="墳" - echo -e "$volicon $vol" + echo "$volicon $vol" } # used storage hdd() { hdd="$(df -h /home | grep /dev | awk '{print $3 " / " $2}')" - echo -e " $hdd" + echo "$hdd" } # available ram @@ -71,12 +71,12 @@ cpu() { # Loop to update bar output update(){ - echo " $(mpd) $(cpu)+@fg=3; +@bg=1;+@fg=1;  $(mem) +@fg=4;+@bg=2;+@fg=1;  $(hdd) +@fg=5;+@bg=3;+@fg=1; $(vol) +@fg=7;+@bg=5;+@fg=1; $(bat) +@fg=8;+@bg=6;+@fg=1; $(network) +@fg=1;+@bg=0;" + echo " $(cpu)+@fg=3; +@bg=1;+@fg=1;  $(mem) +@fg=4;+@bg=2;+@fg=1;  $(hdd) +@fg=5;+@bg=3;+@fg=1; $(vol) +@fg=7;+@bg=5;+@fg=1; $(bat) +@fg=8;+@bg=6;+@fg=1; $(network) +@fg=1;+@bg=0;" wait } while :; do update - ~/.config/spectrwm/scripts/trayer_follows_ws.sh + #~/.config/spectrwm/scripts/trayer_follows_ws.sh sleep 2 & wait done