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