aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/sway/config6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/sway/config b/config/sway/config
index 79c0114..ae73b47 100644
--- a/config/sway/config
+++ b/config/sway/config
@@ -226,6 +226,12 @@ bindsym $mod+r mode "resize"
bindgesture swipe:3:left workspace next
bindgesture swipe:3:right workspace prev
+### Event bindings
+
+set $laptop eDP-1
+bindswitch --reload --locked lid:on output $laptop disable
+bindswitch --reload --locked lid:off output $laptop enable
+
#
# Status Bar:
#