diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-07-05 05:54:40 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-07-05 05:54:40 +0300 |
commit | f02c65fd9b52293076998ccfcbba4924f678bd79 (patch) | |
tree | 83c9f28a65cf966ae2b301ed60f326d330845b0a /dotfiles/.config/sway/config | |
parent | b7b2495e15ffabbf512b149a5f8907b899ada836 (diff) | |
download | swayrice-f02c65fd9b52293076998ccfcbba4924f678bd79.tar.gz swayrice-f02c65fd9b52293076998ccfcbba4924f678bd79.zip |
suspend laptop on lid close
Diffstat (limited to 'dotfiles/.config/sway/config')
-rw-r--r-- | dotfiles/.config/sway/config | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config index 5f14d67..fe10f08 100644 --- a/dotfiles/.config/sway/config +++ b/dotfiles/.config/sway/config @@ -113,6 +113,9 @@ for_window [title="quakemite"] border none # hide/unhide i3status bar # bindsym $mod+m bar mode toggle +# Laptop lid +bindswitch --reload --locked lid:on exec "swaysession suspend" + # Trackpoint (Thinkpad) input 2:10:TPPS/2_IBM_TrackPoint pointer_accel 1 |