From: Ruben Beltran del Rio Date: Thu, 6 Feb 2025 16:49:16 +0000 (+0100) Subject: Add laptop switch config X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/8c7856b8ac5a97314ab8e47902fe7788c0e45b57?ds=sidebyside Add laptop switch config --- 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: #