feat: bind workspace to monitors

This commit is contained in:
DACHXY 2025-02-18 22:09:12 +08:00
parent 71093e1c0f
commit 8c498d10ec
3 changed files with 20 additions and 0 deletions

View file

@ -6,6 +6,7 @@
hyprcursor-size,
xcursor-size,
nvidia-offload-enabled ? false,
monitors ? [ ],
...
}:
let
@ -91,6 +92,7 @@ in
''XDG_SESSION_DESKTOP, Hyprland''
''GDK_PIXBUF_MODULE_FILE, ${pkgs.librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'' # Make rofi load svg
];
workspace = import ./hypr/workspace.nix { inherit monitors; };
}
// window
// windowrule