From 88f64a31395b79d5adf6f89a4f411e23cb05e2bd Mon Sep 17 00:00:00 2001 From: Swarsel Date: Thu, 11 Jul 2024 10:49:39 +0200 Subject: [PATCH] feat: add fourside monitor workspace binding --- SwarselSystems.org | 18 +++++++++++++++--- profiles/fourside/home.nix | 18 +++++++++++++++--- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/SwarselSystems.org b/SwarselSystems.org index eeefc37..8962572 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -1639,13 +1639,25 @@ This is basically just adjusted to the core count, path to the =hwmon= (this was }; output = { - DP-1 = { - mode = "2560x1440"; # TEMPLATE + eDP-1 = { + mode = "1920x1080"; # TEMPLATE scale = "1"; - #bg = "~/.dotfiles/wallpaper/lenovowp.png fill"; + position = "1920,0"; + # bg = "~/.dotfiles/wallpaper/lenovowp.png fill"; + }; + HDMI-A-1 = { + mode = "2560x1440"; + scale = "1"; + # bg = "~/.dotfiles/wallpaper/lenovowp.png fill"; + position = "0,0"; }; }; + workspaceOutputAssign = [ + { output = "eDP-1"; workspace = "1:一";} + { output = "HDMI-A-1"; workspace = "2:二";} + ]; + keybindings = let modifier = config.wayland.windowManager.sway.config.modifier; in { diff --git a/profiles/fourside/home.nix b/profiles/fourside/home.nix index a560a24..59ecc62 100644 --- a/profiles/fourside/home.nix +++ b/profiles/fourside/home.nix @@ -74,13 +74,25 @@ }; output = { - DP-1 = { - mode = "2560x1440"; # TEMPLATE + eDP-1 = { + mode = "1920x1080"; # TEMPLATE scale = "1"; - #bg = "~/.dotfiles/wallpaper/lenovowp.png fill"; + position = "1920,0"; + # bg = "~/.dotfiles/wallpaper/lenovowp.png fill"; + }; + HDMI-A-1 = { + mode = "2560x1440"; + scale = "1"; + # bg = "~/.dotfiles/wallpaper/lenovowp.png fill"; + position = "0,0"; }; }; + workspaceOutputAssign = [ + { output = "eDP-1"; workspace = "1:一";} + { output = "HDMI-A-1"; workspace = "2:二";} + ]; + keybindings = let modifier = config.wayland.windowManager.sway.config.modifier; in {