aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-04-10 10:13:01 -0500
committerToby Vincent <tobyv@tobyvin.dev>2024-04-10 10:13:01 -0500
commit32889a15f9ad5d661931c53bdfd3e5b274a655ac (patch)
tree016169a1d322530b4beab513217bd3257d72ae99
parentf0bded5b5fee596ac7ccdc5c48078c12feded5b4 (diff)
fix(sway): disable lock state on resume
-rw-r--r--sway/.config/swayidle/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/.config/swayidle/config b/sway/.config/swayidle/config
index f5e77a2..a6a7972 100644
--- a/sway/.config/swayidle/config
+++ b/sway/.config/swayidle/config
@@ -1,3 +1,3 @@
timeout 600 'systemctl --user start idle.target' resume 'systemctl --user stop idle.target'
-timeout 900 'loginctl lock-session'
+timeout 900 'loginctl lock-session' resume 'loginctl unlock-session'
timeout 1200 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'