summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmenu-pamixer
blob: cd5926afbc58c19e81e054b0a4b142be9c3cd8c1 (plain) (blame)
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"