]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Merge branch 'main' of git.sr.ht:~rbdr/dotfiles main
authorRuben Beltran del Rio <redacted>
Mon, 17 Feb 2025 09:39:50 +0000 (10:39 +0100)
committerRuben Beltran del Rio <redacted>
Mon, 17 Feb 2025 09:39:50 +0000 (10:39 +0100)
config/sway/config

index 79c0114d22035a920cc337848637814166903f81..ae73b47a767028dccbe753d1c125f0f513b7b1c3 100644 (file)
@@ -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:
 #