From 4c45aa0005d6cc0da1db6618c3b9c4457c0f4b85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Thu, 28 Mar 2024 11:16:07 +0100 Subject: [PATCH] 265 current 1970-01-01 01:00:00 23.11.20240326.4473351 6.1.82 * --- modules/home-manager/sway.nix | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/modules/home-manager/sway.nix b/modules/home-manager/sway.nix index feb7d7f..118b91c 100644 --- a/modules/home-manager/sway.nix +++ b/modules/home-manager/sway.nix @@ -99,6 +99,9 @@ in { HDMI-A-1 = { bg = "'${bg4k}' fit"; }; + DP-3 = { + bg = "'${bg1080}' fit"; + }; DP-4 = { bg = "'${bg1080}' fit"; }; @@ -208,11 +211,11 @@ in { workspaceOutputAssign = [ { workspace = "main"; - output = ["DP-4" "DP-6" "HDMI-A-1" "eDP-1"]; + output = ["DP-3" "DP-4" "DP-6" "HDMI-A-1" "eDP-1"]; } { workspace = "term"; - output = ["DP-5" "DP-7" "eDP-1"]; + output = ["DP-5" "DP-4" "DP-7" "eDP-1"]; } { workspace = "msg"; @@ -224,7 +227,7 @@ in { } { workspace = "5"; - output = ["DP-4" "DP-6" "HDMI-A-1" "eDP-1"]; + output = ["DP-3" "DP-4" "DP-6" "HDMI-A-1" "eDP-1"]; } ]; @@ -463,6 +466,30 @@ in { "${pkgs.sway}/bin/swaymsg workspace 5, move workspace to DP-6" ]; }; + dock_luhbots4 = { + outputs = [ + { + criteria = "eDP-1"; + position = "1080,1080"; + } + { + criteria = "Dell Inc. DELL P2422HE 4BXL9M3"; + position = "1080,0"; + } + { + criteria = "NEC Corporation E243WMi 75309334NB"; + transform = "90"; + position = "0,0"; + } + ]; + exec = [ + "${pkgs.sway}/bin/swaymsg workspace 1, move workspace to DP-3" + "${pkgs.sway}/bin/swaymsg workspace 2, move workspace to DP-4" + "${pkgs.sway}/bin/swaymsg workspace 3, move workspace to eDP-1" + "${pkgs.sway}/bin/swaymsg workspace 4, move workspace to eDP-1" + "${pkgs.sway}/bin/swaymsg workspace 5, move workspace to DP-3" + ]; + }; laptop_hannspree = { outputs = [ {