summaryrefslogtreecommitdiffstats
path: root/.local/bin/rofi-light
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/rofi-light')
-rwxr-xr-x.local/bin/rofi-light4
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/bin/rofi-light b/.local/bin/rofi-light
new file mode 100755
index 0000000..f43543b
--- /dev/null
+++ b/.local/bin/rofi-light
@@ -0,0 +1,4 @@
+#!/bin/sh
+cur=$(light -G)
+val=$(rofi -dmenu -mesg "light $cur" -p "light -S " -l 0 -width 12)
+[ -n "$val" ] && light -S "$val"