summaryrefslogtreecommitdiffstats
path: root/.scripts/statusbar/i3volume
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-11-11 21:27:04 -0500
committerLuke Smith <luke@lukesmith.xyz>2018-11-11 21:27:04 -0500
commitdebbe40d2c60d4eb8c407d16075838a84edf91d6 (patch)
tree33f00ed63869a7c3d45a31672a7e5c1623b5ce3d /.scripts/statusbar/i3volume
parent9fd0e6575439747e179be8218b0f372fedf69dc4 (diff)
downloadeibhear-debbe40d2c60d4eb8c407d16075838a84edf91d6.tar.gz
eibhear-debbe40d2c60d4eb8c407d16075838a84edf91d6.tar.zst
eibhear-debbe40d2c60d4eb8c407d16075838a84edf91d6.zip
right click on modules shows module info
Diffstat (limited to '.scripts/statusbar/i3volume')
-rwxr-xr-x.scripts/statusbar/i3volume6
1 files changed, 5 insertions, 1 deletions
diff --git a/.scripts/statusbar/i3volume b/.scripts/statusbar/i3volume
index 9492906..04a613a 100755
--- a/.scripts/statusbar/i3volume
+++ b/.scripts/statusbar/i3volume
@@ -2,9 +2,13 @@
case $BLOCK_BUTTON in
1) setsid "$TERMINAL" -e pulsemixer & ;;
- 3) pulsemixer --toggle-mute ;;
+ 2) pulsemixer --toggle-mute ;;
4) pulsemixer --change-volume +5 ;;
5) pulsemixer --change-volume -5 ;;
+ 3) pgrep -x dunst >/dev/null && notify-send "<b>Volume module:</b>
+- Shows volume 🔊, 🔇 if muted.
+- Middle click to mute.
+- Scroll to change."
esac
[ "$(pulsemixer --get-mute)" = "1" ] && printf "🔇\\n" && exit