From 4f6f89abb8fba93897c8c5ec54ec8fe00eb808f8 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Fri, 3 Nov 2023 16:37:47 +0100 Subject: [PATCH] updated display config work --- host_vars/work.yml | 20 ++++++++++++------- .../sway/templates/hosts/sway/work/config.j2 | 6 +++--- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/host_vars/work.yml b/host_vars/work.yml index 2b3477c..db628b4 100644 --- a/host_vars/work.yml +++ b/host_vars/work.yml @@ -2,19 +2,25 @@ displays: - name: laptop id: eDP-1 - x: 0 - y: 920 + x: 5760 + y: 720 mode: 1920x1080 - scale: 1.4 + scale: 1.6 - name: screen1 - id: DP-3 - x: 1280 + id: DP-7 + x: 0 y: 0 mode: 1920x1080 scale: 1 - name: screen2 - id: DP-4 + id: DP-5 mode: 1920x1080 - x: 3200 + x: 1920 + y: 0 + scale: 1 + - name: screen2 + id: DP-6 + mode: 1920x1080 + x: 3840 y: 0 scale: 1 diff --git a/roles/sway/templates/hosts/sway/work/config.j2 b/roles/sway/templates/hosts/sway/work/config.j2 index 047e189..b084070 100644 --- a/roles/sway/templates/hosts/sway/work/config.j2 +++ b/roles/sway/templates/hosts/sway/work/config.j2 @@ -12,9 +12,9 @@ bindswitch --reload lid:on output $laptop disable bindswitch --reload lid:off output $laptop enable # assign workspace to screens -workspace $tag1 output $screen1 -workspace $tag2 output $screen1 -workspace $tag3 output $screen2 +workspace $tag1 output $screen2 +workspace $tag2 output $screen2 +workspace $tag3 output $screen3 workspace $tag4 output $laptop workspace $tag5 output $screen2 workspace $tag6 output $screen2