From f73870b141d1d7fd9fc40be0f88316deddffed0b Mon Sep 17 00:00:00 2001 From: Kaan Genc Date: Wed, 9 Mar 2022 22:09:09 -0500 Subject: [PATCH] turn off brightness on idle --- sway/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sway/config b/sway/config index bdc537a..d706d0b 100644 --- a/sway/config +++ b/sway/config @@ -51,8 +51,8 @@ exec bash -c "/usr/lib/xdg-desktop-portal -r & /usr/lib/xdg-desktop-portal-wlr" # # You can get the names of your outputs by running: swaymsg -t get_outputs -#exec swayidle -w \ -# timeout 1200 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' +exec swayidle -w \ + timeout 1200 '/home/kaan/.config/sway/backlight.py --off' resume '/home/kaan/.config/sway/backlight.py +10' ### Idle configuration #