projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
041d9fa
)
re-enable the speaker volume stuff in panel
author
Amin Bandali
<me@aminb.org>
Sun, 23 Nov 2014 02:46:01 +0000
(21:46 -0500)
committer
Amin Bandali
<me@aminb.org>
Sun, 23 Nov 2014 02:46:01 +0000
(21:46 -0500)
bspwm/.local/bin/panel
patch
|
blob
|
blame
|
history
diff --git
a/bspwm/.local/bin/panel
b/bspwm/.local/bin/panel
index
a981f43
..
2f78550
100755
(executable)
--- 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