summaryrefslogtreecommitdiff
path: root/bin/guiscripts/plight
diff options
context:
space:
mode:
Diffstat (limited to 'bin/guiscripts/plight')
-rwxr-xr-xbin/guiscripts/plight5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/guiscripts/plight b/bin/guiscripts/plight
new file mode 100755
index 0000000..459bbfa
--- /dev/null
+++ b/bin/guiscripts/plight
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+light $1 $2
+light="$(light -G)"
+printf '%s\n' "${light%.*}" > ~/.config/wob/pipe