diff --git a/config/xmobar/scripts/volume.sh b/config/xmobar/scripts/volume.sh index 4342a564..abd81b40 100755 --- a/config/xmobar/scripts/volume.sh +++ b/config/xmobar/scripts/volume.sh @@ -4,5 +4,3 @@ vol=$(amixer get Master | awk -F'[]%[]' '/%/ {if ($7 == "off") { print "MM" } else { print $2 }}' | head -n 1) echo Vol: $vol% - -exit 0 diff --git a/config/xmobar/xmobarrc b/config/xmobar/xmobarrc index ee39d53f..2d5e4474 100644 --- a/config/xmobar/xmobarrc +++ b/config/xmobar/xmobarrc @@ -80,7 +80,7 @@ Config { ] 10 , Run XPropertyLog "_XMONAD_TRAYPAD" - , Run CommandReader "/home/sako/.config/xmobar/scripts/volume.sh" "vol" + , Run Com "/home/sako/.config/xmobar/scripts/volume.sh" [] "vol" 30 -- battery monitor , Run Battery [ "--template" , "Batt: "