diff options
Diffstat (limited to 'modules/user/desktop/swayfx.nix')
| -rw-r--r-- | modules/user/desktop/swayfx.nix | 16 |
1 files changed, 13 insertions, 3 deletions
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 |
