aboutsummaryrefslogtreecommitdiff
path: root/home/.config/i3/lightup
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config/i3/lightup')
-rwxr-xr-xhome/.config/i3/lightup6
1 files changed, 6 insertions, 0 deletions
diff --git a/home/.config/i3/lightup b/home/.config/i3/lightup
new file mode 100755
index 0000000..7104923
--- /dev/null
+++ b/home/.config/i3/lightup
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ $(light) = 0.00 ]; then
+ light -S 0.07;
+else
+ light -S $(echo 1.122\*$(light) | bc);
+fi;