summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <me@aminb.org>2014-11-22 21:46:01 -0500
committerAmin Bandali <me@aminb.org>2014-11-22 21:46:01 -0500
commit853df9818ef92f8cdcd377735bdc9323f7579a4d (patch)
tree5b63b9ed1a62f9ae470b2e4fd00f5f4140b3a445
parent041d9faec88133d8db9fc08f381b5ea19c99f26c (diff)
downloadconfigs-853df9818ef92f8cdcd377735bdc9323f7579a4d.tar.gz
configs-853df9818ef92f8cdcd377735bdc9323f7579a4d.tar.xz
configs-853df9818ef92f8cdcd377735bdc9323f7579a4d.zip
re-enable the speaker volume stuff in panel
Diffstat (limited to '')
-rwxr-xr-xbspwm/.local/bin/panel10
1 files changed, 5 insertions, 5 deletions
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