From c7d8b4133e7574e603dd05cfedb1371c5b581cfc Mon Sep 17 00:00:00 2001 From: eoli3n Date: Mon, 1 May 2023 09:37:22 +0200 Subject: [PATCH] try to fix display configuration --- roles/sway/files/kanshi/by_host/osz/config | 10 +++++----- roles/sway/templates/by_host/osz/config.j2 | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/roles/sway/files/kanshi/by_host/osz/config b/roles/sway/files/kanshi/by_host/osz/config index 5351928..649052a 100644 --- a/roles/sway/files/kanshi/by_host/osz/config +++ b/roles/sway/files/kanshi/by_host/osz/config @@ -1,12 +1,12 @@ profile { - output "ONKYO Corporation Sound System 0x00000000" disable - output "Dell Inc. DELL P2417H CW6Y77AG05NB" position 1199,1080 mode 1920x1080 - output "eDP-1" position 0,1486 mode 1920x1080 scale 1 + output "ONKYO Corporation Sound System Unknown" disable + output "Dell Inc. DELL P2417H CW6Y77AG05NB" position 1920,1080 mode 1920x1080 + output "eDP-1" position 548,1388 mode 1920x1080 scale 1.4 } profile { - output "Dell Inc. DELL P2417H CW6Y77AG05NB" position 1199,1080 mode 1920x1080 - output "eDP-1" position 0,1486 mode 1920x1080 scale 1.4 + output "Dell Inc. DELL P2417H CW6Y77AG05NB" position 1920,1080 mode 1920x1080 + output "eDP-1" position 548,1388 mode 1920x1080 scale 1.4 } profile { diff --git a/roles/sway/templates/by_host/osz/config.j2 b/roles/sway/templates/by_host/osz/config.j2 index 3aa6a67..acbf5c1 100644 --- a/roles/sway/templates/by_host/osz/config.j2 +++ b/roles/sway/templates/by_host/osz/config.j2 @@ -9,8 +9,8 @@ set $screen "DP-3" #output $laptop pos 1920 1560 res 1920x1080 scale 1.8 # toggle proj -bindsym --no-repeat $mod+p output $proj toggle; output $screen toggle; output $laptop toggle -bindsym --no-repeat $mod+Shift+p output $laptop toggle +bindsym --no-repeat $mod+p output $proj toggle +bindsym --no-repeat $mod+Shift+p output $screen toggle; output $laptop toggle # start kanshi exec_always "pkill kanshi; kanshi"