diff options
author | Amin Bandali <bandali@kelar.org> | 2022-05-19 23:26:06 -0400 |
---|---|---|
committer | Amin Bandali <bandali@kelar.org> | 2022-05-19 23:26:22 -0400 |
commit | 7f1bcaabd892f49c6799fd4c06e774f5538666a0 (patch) | |
tree | 5cd9ae39b19dfa6fe6b2292474e7d79d5244ce7f /.local/bin/rofi-pamixer | |
parent | b4026315d11def205f0d2d6e9ad698bd75c3a5ad (diff) | |
download | configs-7f1bcaabd892f49c6799fd4c06e774f5538666a0.tar.gz configs-7f1bcaabd892f49c6799fd4c06e774f5538666a0.tar.xz configs-7f1bcaabd892f49c6799fd4c06e774f5538666a0.zip |
Improve usability of rofi-light and rofi-pamixer wrappers
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/rofi-pamixer | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/rofi-pamixer b/.local/bin/rofi-pamixer index da06a6d..19377dc 100755 --- a/.local/bin/rofi-pamixer +++ b/.local/bin/rofi-pamixer @@ -1,4 +1,4 @@ #!/bin/sh cur=$(pamixer --get-volume) -val=$(rofi -dmenu -mesg "pamixer --get-volume $cur" -p "pamixer --set-volume " -l 0 -width 12) +val=$(rofi -dmenu -mesg "volume: $cur" -p "" -l 0 -width 8) [ -n "$val" ] && pamixer --set-volume "$val" |