diff options
author | Karel Kočí <cynerd@email.cz> | 2022-01-03 14:45:37 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-01-03 14:45:37 +0100 |
commit | a104edcc9aa7dbc0801ce4a329725b32a609620c (patch) | |
tree | 25645bbcecbee8ebae7a78bc2703e84fc87a2b5c /config/swayidle | |
parent | a9cedcceca62f5ab93befcdef226196d76ac1981 (diff) | |
download | myconfigs-a104edcc9aa7dbc0801ce4a329725b32a609620c.tar.gz myconfigs-a104edcc9aa7dbc0801ce4a329725b32a609620c.tar.bz2 myconfigs-a104edcc9aa7dbc0801ce4a329725b32a609620c.zip |
sway: improve support with swaylock
Diffstat (limited to 'config/swayidle')
-rw-r--r-- | config/swayidle/config | 7 |
1 files changed, 7 insertions, 0 deletions
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' |