90pkl63: set output position depending on state of internal screen

This commit is contained in:
Konstantin Koslowski 2022-02-24 19:06:57 +01:00
parent 705ed57b7a
commit 47c9fe38fe
2 changed files with 4 additions and 3 deletions

3
config
View file

@ -39,11 +39,12 @@ include $HOME/.config/sway/hosts.d/$(hostname).conf
# General Options
#
focus_wrapping no
# nextcloud workaround
mouse_warping container
# floating_maximum_size 1600 x 900
font pango:$font
hide_edge_borders --i3 smart
smart_gaps off
smart_gaps on
default_border pixel 4
#
# Gaps

View file

@ -7,8 +7,8 @@ set $extern "Goldstar Company Ltd 38GN950 008NTLEFY912"
output $intern position 0 0
output $extern position 1920 0 mode 3840x1600
bindswitch --reload --locked lid:on output $intern disable
bindswitch --reload --locked lid:off output $intern enable
bindswitch --reload --locked lid:on output $intern disable; output $extern position 0 0
bindswitch --reload --locked lid:off output $intern enable; output $extern position 1920 0
### Input configuration
input "1160:4618:DELL09BE:00_0488:120A_Touchpad" {