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-light
diff --git
a/.local/bin/rofi-light
b/.local/bin/rofi-light
index
f2a46af
..
4dedc31
100755
(executable)
--- a/
.local/bin/rofi-light
+++ b/
.local/bin/rofi-light
@@
-1,5
+1,4
@@
#!/bin/sh
-
cur=$(light -G)
-val=$(rofi -dmenu -mesg "
light $cur" -p "light -S
" -l 0 -width 12)
+val=$(rofi -dmenu -mesg "
brightness: $cur" -p "
" -l 0 -width 12)
[ -n "$val" ] && light -S "$val"