summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmenu-pamixer
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2022-11-19 20:24:42 -0500
committerAmin Bandali <bandali@gnu.org>2022-11-19 20:25:33 -0500
commit4c4b967a3bd2d659b3b8229c5caf970bc45a9542 (patch)
tree021872062d344d26fefa07d5cd969cced220d503 /.local/bin/dmenu-pamixer
parent060e89402c8014462a16ee1c92939a906aa1d558 (diff)
downloadconfigs-4c4b967a3bd2d659b3b8229c5caf970bc45a9542.tar.gz
configs-4c4b967a3bd2d659b3b8229c5caf970bc45a9542.tar.xz
configs-4c4b967a3bd2d659b3b8229c5caf970bc45a9542.zip
Drop rofi in favour of dmenu
Diffstat (limited to '')
-rwxr-xr-x.local/bin/dmenu-pamixer (renamed from .local/bin/rofi-pamixer)2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/rofi-pamixer b/.local/bin/dmenu-pamixer
index 19377dc..c830e9d 100755
--- a/.local/bin/rofi-pamixer
+++ b/.local/bin/dmenu-pamixer
@@ -1,4 +1,4 @@
#!/bin/sh
cur=$(pamixer --get-volume)
-val=$(rofi -dmenu -mesg "volume: $cur" -p "" -l 0 -width 8)
+val=$(dmenu -p "volume ($cur):" < /dev/null)
[ -n "$val" ] && pamixer --set-volume "$val"