nixos-configs/modules/desktop/desktop-environment/home/style.nix

35 lines
682 B
Nix
Raw Normal View History

2024-04-21 14:57:38 -04:00
{config, ...}: let
inherit (config.vars) configDir;
in {
2024-04-21 14:57:38 -04:00
imports = [
../../home/theme
2024-07-06 03:07:47 -04:00
../../home/hyprpaper.nix
2024-04-21 14:57:38 -04:00
];
wayland.windowManager.hyprland = {
settings = {
envd = ["XCURSOR_SIZE, 24"];
exec-once = [
"hyprctl setcursor Dracula-cursors 24"
2024-07-06 03:07:47 -04:00
"hyprpaper"
];
windowrule = [
"size 1231 950,title:^(Open Folder)$"
"float,title:^(Open Folder)$"
"size 1231 950,title:^(Open File)$"
"float,title:^(Open File)$"
];
layerrule = [
"noanim, selection"
];
# This file should only be used for theming
source = ["${configDir}/hypr/main.conf"];
};
};
}