From 47c9fe38fe9f58d3fbfa0caf0ba20da3c6e30c08 Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Thu, 24 Feb 2022 19:06:57 +0100 Subject: [PATCH] 90pkl63: set output position depending on state of internal screen --- config | 3 ++- hosts.d/90PKL63.conf | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config b/config index e461e32..dac3b74 100644 --- a/config +++ b/config @@ -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 diff --git a/hosts.d/90PKL63.conf b/hosts.d/90PKL63.conf index fb460e7..c130900 100644 --- a/hosts.d/90PKL63.conf +++ b/hosts.d/90PKL63.conf @@ -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" {