summaryrefslogtreecommitdiffstats
path: root/.local/bin/rofi-pamixer
blob: 19377dc9625b2244adb6db2c7887137f7df5fd03 (plain) (blame)
1
2
3
4
#!/bin/sh
cur=$(pamixer --get-volume)
val=$(rofi -dmenu -mesg "volume: $cur" -p "" -l 0 -width 8)
[ -n "$val" ] && pamixer --set-volume "$val"