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 = [ {