summaryrefslogtreecommitdiffstats
path: root/bin/dzen2_pgrp.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/dzen2_pgrp.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/dzen2_pgrp.sh b/bin/dzen2_pgrp.sh
index 277a197..61349b1 100644
--- a/bin/dzen2_pgrp.sh
+++ b/bin/dzen2_pgrp.sh
@@ -27,8 +27,9 @@ OFFSET=$((OFFSET - 17))
$DIR/bin/pulse-dbus-receive.py | \
$DZEN2 -xs "$SCREEN" -x "$OFFSET" -tw 17 -w 100 -fn "$FONT" -bg black -sa c -l 1 \
-e "entertitle=uncollapse,unhide;leavetitle=collapse;button2=exec:pavucontrol\
- ;button1=exec:$MIXER toggle;button3=exec:$MIXER 80%\
- ;button4=exec:$MIXER 2%+;button5=exec:$MIXER 2%-" &
+ ;button1=print:sset Master toggle;button3=print:sset Master 80%\
+ ;button4=print:sset Master 2%+;button5=print:sset Master 2%-" |
+ $DIR/bin/mixer-wrapper.py "amixer -s" &
# fill the rest of the screen with the information from xmonad
cat $* | $DZEN2 -xs "$SCREEN" -x 0 -w "$OFFSET" -ta l -fn "$FONT" -bg black -e 'button1=none' &