diff options
author | Amin Bandali <bandali@kelar.org> | 2024-08-31 14:21:28 -0400 |
---|---|---|
committer | Amin Bandali <bandali@kelar.org> | 2024-08-31 14:21:28 -0400 |
commit | c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a (patch) | |
tree | 41b0de4b61e765d9c4cca317ebce66d530e640aa /.local/bin/dmenu-pavols | |
parent | 8052f35b9b29d9d3624be1c161ad4f41ee26a533 (diff) | |
download | configs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.tar.gz configs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.tar.xz configs-c6d8f5f99ec23a6b7cb537c79e716bf5eea5446a.zip |
A few more updates from anahita
Diffstat (limited to '.local/bin/dmenu-pavols')
-rwxr-xr-x | .local/bin/dmenu-pavols | 2 |
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}%" |