From a4d43f2c6855dfc1b0c5342348dfdf3645cec8ac Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 28 Oct 2023 14:04:04 +0200 Subject: eww: Refresh brightness every second --- .config/eww/scripts/backlight-listener | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.config/eww/scripts') diff --git a/.config/eww/scripts/backlight-listener b/.config/eww/scripts/backlight-listener index 82b5a55..89ba069 100755 --- a/.config/eww/scripts/backlight-listener +++ b/.config/eww/scripts/backlight-listener @@ -1,5 +1,11 @@ #!/bin/sh +while : +do + sleep 1 + lux | xargs printf '%g%%\n' +done & + while : do lux | xargs printf '%g%%\n' -- cgit v1.2.3