From 80a61f5f39b496507468a3b4ed474899880b9776 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Fri, 27 Oct 2023 20:07:57 +0200 Subject: added new scripts --- bin/guiscripts/mlight | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/guiscripts/mlight (limited to 'bin/guiscripts/mlight') diff --git a/bin/guiscripts/mlight b/bin/guiscripts/mlight new file mode 100755 index 0000000..41d6f90 --- /dev/null +++ b/bin/guiscripts/mlight @@ -0,0 +1,10 @@ +#!/bin/sh +light="$(light -G)" +light="$(printf '30 +60 +90' | commander -c -w 6 -y 3 -p "(${light%.*})")" +[ "$light" ] || exit 1 +light -S "$light" + +[ -p ~/.config/wob/pipe ] && + printf '%s\n' "$light" > ~/.config/wob/pipe -- cgit v1.2.3