From a104edcc9aa7dbc0801ce4a329725b32a609620c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 3 Jan 2022 14:45:37 +0100 Subject: sway: improve support with swaylock --- config/swayidle/config | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 config/swayidle/config (limited to 'config/swayidle') diff --git a/config/swayidle/config b/config/swayidle/config new file mode 100644 index 0000000..c344033 --- /dev/null +++ b/config/swayidle/config @@ -0,0 +1,7 @@ +timeout 301 'swaymsg output "*" dpms off' resume 'swaymsg output "*" dpms on' + +timeout 300 'myswaylock' +lock 'myswaylock' +before-sleep 'myswaylock' + +unlock 'killall swaylock' -- cgit v1.2.3