projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rofi-light: rofi-based pop up for changing backlight brightness
[~bandali/configs]
/
sxhkd
/
.local
/
bin
/
rofi-light
diff --git a/sxhkd/.local/bin/rofi-light
b/sxhkd/.local/bin/rofi-light
new file mode 100755
(executable)
index 0000000..
96b0126
--- /dev/null
+++ b/
sxhkd/.local/bin/rofi-light
@@ -0,0
+1,5
@@
+#!/bin/sh
+
+cur=$(light -G)
+val=$(rofi -dmenu -mesg "light $cur" -p "light -S " -l 0 -width 8)
+light -S $val