summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmenu-pavols
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-08-31 14:21:28 -0400
committerAmin Bandali <bandali@kelar.org>2024-08-31 14:21:28 -0400
commitc6d8f5f99ec23a6b7cb537c79e716bf5eea5446a (patch)
tree41b0de4b61e765d9c4cca317ebce66d530e640aa /.local/bin/dmenu-pavols
parent8052f35b9b29d9d3624be1c161ad4f41ee26a533 (diff)
downloadconfigs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.tar.gz
configs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.tar.xz
configs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.zip
A few more updates from anahita
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}%"