diff options
author | Amin Bandali <bandali@gnu.org> | 2022-11-19 20:24:42 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2022-11-19 20:25:33 -0500 |
commit | 4c4b967a3bd2d659b3b8229c5caf970bc45a9542 (patch) | |
tree | 021872062d344d26fefa07d5cd969cced220d503 /.local/bin/dmenu-pamixer | |
parent | 060e89402c8014462a16ee1c92939a906aa1d558 (diff) | |
download | configs-4c4b967a3bd2d659b3b8229c5caf970bc45a9542.tar.gz configs-4c4b967a3bd2d659b3b8229c5caf970bc45a9542.tar.xz configs-4c4b967a3bd2d659b3b8229c5caf970bc45a9542.zip |
Drop rofi in favour of dmenu
Diffstat (limited to '.local/bin/dmenu-pamixer')
-rwxr-xr-x | .local/bin/dmenu-pamixer | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/bin/dmenu-pamixer b/.local/bin/dmenu-pamixer new file mode 100755 index 0000000..c830e9d --- /dev/null +++ b/.local/bin/dmenu-pamixer @@ -0,0 +1,4 @@ +#!/bin/sh +cur=$(pamixer --get-volume) +val=$(dmenu -p "volume ($cur):" < /dev/null) +[ -n "$val" ] && pamixer --set-volume "$val" |