re-enable the speaker volume stuff in panel
authorAmin Bandali <me@aminb.org>
Sun, 23 Nov 2014 02:46:01 +0000 (21:46 -0500)
committerAmin Bandali <me@aminb.org>
Sun, 23 Nov 2014 02:46:01 +0000 (21:46 -0500)
bspwm/.local/bin/panel

index a981f43..2f78550 100755 (executable)
@@ -15,12 +15,12 @@ bspc control --subscribe > "$PANEL_FIFO" &
 #xtitle -sf 'T%s' > "$PANEL_FIFO" &
 #clock -sf 'S%a %H:%M' > "$PANEL_FIFO" &
 
 #xtitle -sf 'T%s' > "$PANEL_FIFO" &
 #clock -sf 'S%a %H:%M' > "$PANEL_FIFO" &
 
-#pamixer --get-volume > /tmp/volinfo
-#if $(pamixer --get-mute) ; then
+pamixer --get-volume > /tmp/volinfo
+if $(pamixer --get-mute) ; then
     echo ⮝ > /tmp/spkicon
     echo ⮝ > /tmp/spkicon
-#else
-#    echo ⮟ > /tmp/spkicon
-#fi
+else
+    echo ⮟ > /tmp/spkicon
+fi
 conky > "$PANEL_FIFO" &
 
 . panel_colors
 conky > "$PANEL_FIFO" &
 
 . panel_colors