aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config
diff options
context:
space:
mode:
authorLMBishop <13875753+LMBishop@users.noreply.github.com>2023-07-20 21:19:29 +0100
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2023-07-20 21:20:55 +0100
commit0a07704d6dc53bf3a35d4aadfa240586f55e9487 (patch)
treedc7d45dfd0b74b58fa7f19d09c61b4981cd7dc25 /sway/config
parent961c56632ba5c2e3937bced415697096ef8c8344 (diff)
Replace python installer
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