From 909f611b0220920cde9e6e51e71603cca7e96feb Mon Sep 17 00:00:00 2001 From: Rosa Date: Tue, 13 Jan 2026 20:34:43 -0500 Subject: workspace assigns, disable DPI font scaling in apps on desktop --- modules/user/desktop/swayfx.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'modules/user/desktop') diff --git a/modules/user/desktop/swayfx.nix b/modules/user/desktop/swayfx.nix index 2b159d7..8313d99 100644 --- a/modules/user/desktop/swayfx.nix +++ b/modules/user/desktop/swayfx.nix @@ -94,8 +94,8 @@ disable-scroll = true; format = ""; persistent-workspaces = { - "1" = []; - "2" = []; + "1" = ["DP-1"]; + "2" = ["DP-2"]; "3" = []; "4" = []; "5" = []; @@ -280,11 +280,21 @@ "DP-2" = { background = "~/Pictures/blossoms.jpg fill"; mode = "1920x1080@75Hz"; - position = "0 0"; + position = "1920 0"; }; }; window.titlebar = false; + workspaceOutputAssign = [ + { + output = [ "DP-1" "eDP-1" ]; + workspace = "1"; + } + { + output = "DP-2"; + workspace = "2"; + } + ]; }; # inactive windows cast no shadow to avoid rendering shadows on top of -- cgit v1.3.1