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