diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2018-11-11 21:27:04 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2018-11-11 21:27:04 -0500 |
| commit | debbe40d2c60d4eb8c407d16075838a84edf91d6 (patch) | |
| tree | 33f00ed63869a7c3d45a31672a7e5c1623b5ce3d /.scripts/statusbar/i3volume | |
| parent | 9fd0e6575439747e179be8218b0f372fedf69dc4 (diff) | |
| download | eibhear-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/i3volume | 6 |
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 |
