Added clamshell mode support for laptop screen to Sway.

This commit is contained in:
vorboyvo 2024-06-14 17:14:19 -04:00
parent 74eec875e0
commit 601596828e

View file

@ -102,5 +102,10 @@ in {
''
focus_on_window_activation focus
'' + # Focus on window activation lol
''
set $laptop eDP-1
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
'' + # Clamshell mode
"";
}