nixos-configs/nixosModules/desktop/theme/default.nix

43 lines
817 B
Nix
Raw Normal View History

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;
}