summaryrefslogtreecommitdiffstats
path: root/.local/bin/rofi-pamixer
blob: da06a6d930a04aade88bbf42d1149a703261d314 (plain) (blame)
1
2
3
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"