aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config')
-rw-r--r--sway/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config b/sway/config
index 363e666..8d8a8d7 100644
--- a/sway/config
+++ b/sway/config
@@ -183,7 +183,7 @@ exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DE
exec swayidle -w \
timeout 300 "notify-send 'Power' 'System will suspend very soon due to inactivity.'" \
timeout 310 "swaylock" \
- timeout 315 "systemctl suspend" \
+ timeout 313 "swaymsg 'output * power off'" resume "swaymsg 'output * power on'" \
before-sleep "swaylock"
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1