user-dirs: rename XDG_TEMPLATES_DIR from temp to tmpl
[~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"