sway: lock screen when lid is closed

plus, update lock.sh script
This commit is contained in:
2022-07-17 19:34:15 +03:00
parent dd6c5ea662
commit 01f7929c89
2 changed files with 11 additions and 15 deletions

View File

@@ -90,8 +90,7 @@ output $mainMonitor {
mode 1920x1080@144Hz
}
bindswitch --reload --locked lid:on output $laptopMonitor disable
bindswitch --reload --locked lid:off output $laptopMonitor enable
bindswitch --reload lid:on exec "$HOME/dotfiles/bin/lock.sh"