nixos-configs/nixosModules/desktop/theme/default.nix
matt1432 94bd0d81f5
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(desktop): place all theming config in same folder
2024-08-05 16:23:53 -04:00

42 lines
817 B
Nix

self: {
config,
lib,
...
}: let
inherit (lib) mkIf;
in {
imports = [
./gtk
./xresources.nix
(import ./cursors.nix self)
(import ./qt.nix self)
(import ./hyprpaper.nix self)
];
config.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"
];
}
// (
mkIf (config.home.username != "greeter") {
# This file should only be used for theming
source = ["${config.vars.configDir}/hypr/main.conf"];
}
);
};
# For accurate stack trace
_file = ./default.nix;
}