From 3aafdd54f79c666f6eded70455128ccdf466425c Mon Sep 17 00:00:00 2001 From: tiyn Date: Fri, 11 Jul 2025 02:58:43 +0200 Subject: [PATCH] swayidle: improved script - added screen dim and off --- .config/wayland/swayidle.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/.config/wayland/swayidle.sh b/.config/wayland/swayidle.sh index 08e8710..c7bb52f 100755 --- a/.config/wayland/swayidle.sh +++ b/.config/wayland/swayidle.sh @@ -1,7 +1,6 @@ #!/bin/sh exec swayidle -w \ timeout 600 "brightnessctl -s set 0%" resume "brightnessctl -r"\ - timeout 600 "notify-send -u critical 'Power' 'System will suspend in 20 minutes!'"\ timeout 1200 "notify-send -u critical 'Power' 'Laptop will suspend in 10 minutes!'"\ timeout 1200 "notify-send -u critical 'Power' 'Screen will turn off soon'"\ timeout 1260 "wlr-randr --output eDP-1 --off" resume "wlr-randr --output eDP-1 --on"\