diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-04-14 20:37:22 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-14 20:37:22 -0400 |
| commit | 05f9c3b70799d48ec39786097808fccfd7c89643 (patch) | |
| tree | ef5b3c1bdeb13c9dcbe892fb40e8e5883f8e5a86 | |
| parent | e88b3a72b8273d3b362fcc32b8e945dd66de8120 (diff) | |
| download | eibhear-05f9c3b70799d48ec39786097808fccfd7c89643.tar.gz eibhear-05f9c3b70799d48ec39786097808fccfd7c89643.tar.zst eibhear-05f9c3b70799d48ec39786097808fccfd7c89643.zip | |
use pamixer, which is much faster
| -rwxr-xr-x | .local/bin/statusbar/volume | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/statusbar/volume b/.local/bin/statusbar/volume index e248952..20805e6 100755 --- a/.local/bin/statusbar/volume +++ b/.local/bin/statusbar/volume @@ -9,9 +9,9 @@ case $BLOCK_BUTTON in # 4) amixer sset Master 5%+ >/dev/null 2>/dev/null ;; # 5) amixer sset Master 5%- >/dev/null 2>/dev/null ;; 1) setsid "$TERMINAL" -e pulsemixer & ;; - 2) pulsemixer --toggle-mute ;; - 4) pulsemixer --change-volume +5 ;; - 5) pulsemixer --change-volume -5 ;; + 2) pamixer -t ;; + 4) pamixer --allow-boost -i 1 ;; + 5) pamixer --allow-boost -d 1 ;; 3) notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted. - Middle click to mute. - Scroll to change." |
