diff --git a/de/home/.config/swayidle/config b/de/home/.config/swayidle/config index 5b28e15..85f1fd5 100644 --- a/de/home/.config/swayidle/config +++ b/de/home/.config/swayidle/config @@ -1,5 +1,5 @@ timeout 150 'brightnessctl g | tee $HOME/.config/swayidle/brightness; brightnessctl s 0' resume 'brightnessctl s $(cat $HOME/.config/swayidle/brightness); rm $HOME/.config/swayidle/brightness' -timeout 300 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' -timeout 600 '/usr/bin/sp-lock' -timeout 1800 'systemctl suspend' +timeout 3 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' +timeout 6 '/usr/bin/sp-lock' +timeout 18 'systemctl suspend' before-sleep '/usr/bin/sp-lock' diff --git a/de/home/.config/swayidle/config.bak b/de/home/.config/swayidle/config.bak new file mode 100644 index 0000000..5b28e15 --- /dev/null +++ b/de/home/.config/swayidle/config.bak @@ -0,0 +1,5 @@ +timeout 150 'brightnessctl g | tee $HOME/.config/swayidle/brightness; brightnessctl s 0' resume 'brightnessctl s $(cat $HOME/.config/swayidle/brightness); rm $HOME/.config/swayidle/brightness' +timeout 300 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' +timeout 600 '/usr/bin/sp-lock' +timeout 1800 'systemctl suspend' +before-sleep '/usr/bin/sp-lock'