diff --git a/config/dwmbar/bar.sh b/config/dwmbar/bar.sh index 4641dbfb..1fa71785 100755 --- a/config/dwmbar/bar.sh +++ b/config/dwmbar/bar.sh @@ -6,21 +6,21 @@ battery() { get_capacity="$(cat /sys/class/power_supply/BAT1/capacity)" get_status="$(cat /sys/class/power_supply/BAT1/status)" case "$get_status" in - Charging) printf "^c$blue^ 󰂄 $get_capacity" ;; - Discharging) printf "^b$blue 󰁹 $get_capacity" ;; + Charging) printf "󰂄 $get_capacity" ;; + Discharging) printf "󰁹 $get_capacity" ;; esac } audio() { get_vol=$(pamixer --get-volume-human) if [ $get_vol = 'muted' ]; then - printf "^b$blue^ 󰕾 Muted" + printf "󰕾 Muted" else - printf "^b$blue^ 󰕾 $get_vol" + printf "󰕾 $get_vol" fi } while true; do - xsetroot -name "$(battery)" + xsetroot -name " $(audio) $(battery) " sleep 1 done