Added clamshell mode support for laptop screen to Sway.
This commit is contained in:
parent
74eec875e0
commit
601596828e
|
|
@ -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
|
||||
"";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue