From 9b269a8727258961e2ada2646d0e637f2aa14b27 Mon Sep 17 00:00:00 2001 From: Logan Gartner Date: Wed, 17 Nov 2021 14:33:11 -0700 Subject: [PATCH] The internet lied to me --- .config/sway/config.d/.idle.example | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/sway/config.d/.idle.example b/.config/sway/config.d/.idle.example index 7f30a62..288e38b 100644 --- a/.config/sway/config.d/.idle.example +++ b/.config/sway/config.d/.idle.example @@ -4,8 +4,7 @@ timeout 300 '$lock_command' \ timeout 301 'swaymsg "output * dpms off"' \ timeout 360 'systemctl suspend' \ - resume 'swaymsg "output * dpms on"' \ timeout 10 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \ - resume 'if pgrep -x swaylock; then swaymsg "output * dpms on"; fi' \ + resume 'swaymsg "output * dpms on"' \ before-sleep 'playerctl -a pause' \ before-sleep '$lock_command'