summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmenu-pavols
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/dmenu-pavols2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/dmenu-pavols b/.local/bin/dmenu-pavols
index 0b840ad..c30bdf8 100755
--- a/.local/bin/dmenu-pavols
+++ b/.local/bin/dmenu-pavols
@@ -1,4 +1,4 @@
#!/bin/sh
cur=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -Po '\d+(?=%)' | head -n1)
-val=$(dmenu -fn 'Source Code Pro Medium-10.5' -p "volume ($cur):" < /dev/null)
+val=$(b-prompt '' "volume ($cur):")
[ -n "$val" ] && pactl set-sink-volume @DEFAULT_SINK@ "${val}%"