diff options
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/rofi-pamixer | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/bin/rofi-pamixer b/.local/bin/rofi-pamixer new file mode 100755 index 0000000..da06a6d --- /dev/null +++ b/.local/bin/rofi-pamixer @@ -0,0 +1,4 @@ +#!/bin/sh +cur=$(pamixer --get-volume) +val=$(rofi -dmenu -mesg "pamixer --get-volume $cur" -p "pamixer --set-volume " -l 0 -width 12) +[ -n "$val" ] && pamixer --set-volume "$val" |