nixos-configs/modules/desktop/theme/default.nix
matt1432 49dc072b81
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(modules): make sure nothing is added without setting enable
2025-01-04 19:02:30 -05:00

39 lines
665 B
Nix

self: {
lib,
osConfig,
...
}: let
inherit (lib) mkIf;
cfg = osConfig.roles.desktop;
in {
imports = [
./gtk
./xresources
(import ./cursors self)
(import ./hyprpaper self)
(import ./qt self)
];
config = mkIf cfg.enable {
wayland.windowManager.hyprland = {
settings = {
windowrule = [
"size 1231 950,title:^(Open Folder)$"
"float,title:^(Open Folder)$"
"size 1231 950,title:^(Open File)$"
"float,title:^(Open File)$"
];
layerrule = [
"noanim, selection"
];
};
};
};
# For accurate stack trace
_file = ./default.nix;
}