sway: improve lock, add inhibit file

This commit is contained in:
Konstantin Koslowski 2021-01-03 12:17:33 +01:00
parent ce20a704d4
commit 381755c4b8
2 changed files with 44 additions and 7 deletions

3
config
View file

@ -37,7 +37,7 @@ exec swayidle -w \
resume '$lock_cmd on' \
timeout 900 '$lock_cmd lockonly' \
timeout 1800 '$lock_cmd suspend' \
before-sleep 'systemctl suspend-then-hibernat'
before-sleep '$lock_cmd lock'
bindsym $mod+Ctrl+Escape exec '$lock_cmd lock'
### Input configuration
@ -56,6 +56,7 @@ bindsym $mod+Return exec $term
# Kill focused window
bindsym $mod+Shift+q kill
bindsym --release button2 kill
# Start your launcher
bindsym $mod+p exec $menu