From: Amin Bandali Date: Sun, 23 Nov 2014 02:46:01 +0000 (-0500) Subject: re-enable the speaker volume stuff in panel X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/853df9818ef92f8cdcd377735bdc9323f7579a4d?ds=inline re-enable the speaker volume stuff in panel --- diff --git a/bspwm/.local/bin/panel b/bspwm/.local/bin/panel index a981f43..2f78550 100755 --- a/bspwm/.local/bin/panel +++ b/bspwm/.local/bin/panel @@ -15,12 +15,12 @@ bspc control --subscribe > "$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 -#else -# echo ⮟ > /tmp/spkicon -#fi +else + echo ⮟ > /tmp/spkicon +fi conky > "$PANEL_FIFO" & . panel_colors