diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-07-23 21:44:12 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-07-23 21:44:12 +0300 |
commit | 0d3e81d7d691adc6ce25d87bccb0c6e381911f50 (patch) | |
tree | d4aafcf8a5bfc355edfb5e6d44f5d97f7e91442f /dotfiles/.config/sway/basedpad | |
parent | 4743810ba16ded2c3d60c8ae23710dfafae3a76c (diff) | |
download | swayrice-0d3e81d7d691adc6ce25d87bccb0c6e381911f50.tar.gz swayrice-0d3e81d7d691adc6ce25d87bccb0c6e381911f50.zip |
Better suspend on lid close
Tell elogind to ignore lid events, rely completely on Sway for it to
properly lock screen and suspend.
Diffstat (limited to 'dotfiles/.config/sway/basedpad')
-rw-r--r-- | dotfiles/.config/sway/basedpad | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.config/sway/basedpad b/dotfiles/.config/sway/basedpad index 6d062b4..7b392dd 100644 --- a/dotfiles/.config/sway/basedpad +++ b/dotfiles/.config/sway/basedpad @@ -9,7 +9,7 @@ output "*" background ~/.config/wall1.png fill output "LVDS-1" pos 0 0 # On lid close -bindswitch --reload --locked lid:on exec "lock-color" +bindswitch --reload --locked lid:on exec "swaysession suspend" # Workspaces workspace $ws1 output LVDS-1 |