1 2 3 4
#!/bin/sh cur=$(pamixer --get-volume) val=$(dmenu -fn 'Source Code Pro Medium-10.5' -p "volume ($cur):" < /dev/null) [ -n "$val" ] && pamixer --set-volume "$val"