From 7bfb9a2d7dd2d64f72a62aa30fce2c2b32ad762a Mon Sep 17 00:00:00 2001 From: KK Date: Sat, 20 Jun 2026 10:11:39 +0200 Subject: [PATCH] sway: suspend without turning off screen --- .config/sway/config | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index f740fd5..3769ae0 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -42,17 +42,8 @@ include /etc/sway/config-vars.d/* # # You can get the names of your outputs by running: swaymsg -t get_outputs -### Idle configuration -# -# Example configuration: -# -exec swayidle -w \ - timeout 300 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ - timeout 600 'systemctl hibernate' -# -# This will lock your screen after 300 seconds of inactivity, then turn off -# your displays after another 300 seconds, and turn your screens back on when -# resumed. It will also lock your screen before your computer goes to sleep. +# Suspend the machine after 600 seconds +exec swayidle -w timeout 600 'systemctl suspend' ### Input configuration #