summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmenu-pamixer
blob: c830e9d02026a5a194447727fafc67e920d67346 (plain) (blame)
1
2
3
4
#!/bin/sh
cur=$(pamixer --get-volume)
val=$(dmenu -p "volume ($cur):" < /dev/null)
[ -n "$val" ] && pamixer --set-volume "$val"