aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.config/sway/config3
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