90pkl63: set output position depending on state of internal screen
This commit is contained in:
parent
705ed57b7a
commit
47c9fe38fe
2 changed files with 4 additions and 3 deletions
3
config
3
config
|
@ -39,11 +39,12 @@ include $HOME/.config/sway/hosts.d/$(hostname).conf
|
||||||
# General Options
|
# General Options
|
||||||
#
|
#
|
||||||
focus_wrapping no
|
focus_wrapping no
|
||||||
|
# nextcloud workaround
|
||||||
mouse_warping container
|
mouse_warping container
|
||||||
# floating_maximum_size 1600 x 900
|
# floating_maximum_size 1600 x 900
|
||||||
font pango:$font
|
font pango:$font
|
||||||
hide_edge_borders --i3 smart
|
hide_edge_borders --i3 smart
|
||||||
smart_gaps off
|
smart_gaps on
|
||||||
default_border pixel 4
|
default_border pixel 4
|
||||||
#
|
#
|
||||||
# Gaps
|
# Gaps
|
||||||
|
|
|
@ -7,8 +7,8 @@ set $extern "Goldstar Company Ltd 38GN950 008NTLEFY912"
|
||||||
output $intern position 0 0
|
output $intern position 0 0
|
||||||
output $extern position 1920 0 mode 3840x1600
|
output $extern position 1920 0 mode 3840x1600
|
||||||
|
|
||||||
bindswitch --reload --locked lid:on output $intern disable
|
bindswitch --reload --locked lid:on output $intern disable; output $extern position 0 0
|
||||||
bindswitch --reload --locked lid:off output $intern enable
|
bindswitch --reload --locked lid:off output $intern enable; output $extern position 1920 0
|
||||||
|
|
||||||
### Input configuration
|
### Input configuration
|
||||||
input "1160:4618:DELL09BE:00_0488:120A_Touchpad" {
|
input "1160:4618:DELL09BE:00_0488:120A_Touchpad" {
|
||||||
|
|
Loading…
Reference in a new issue