projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve usability of rofi-light and rofi-pamixer wrappers
[~bandali/configs]
/
.local
/
bin
/
rofi-pamixer
diff --git
a/.local/bin/rofi-pamixer
b/.local/bin/rofi-pamixer
index
da06a6d
..
19377dc
100755
(executable)
--- 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"