nixos-configs/modules/hyprland/style.nix
matt1432 2af97f6b5a
All checks were successful
Discord / discord commits (push) Has been skipped
feat(hypr): swww -> wpaperd
2024-04-21 14:57:38 -04:00

34 lines
680 B
Nix

{config, ...}: let
inherit (config.vars) configDir;
in {
imports = [
../../home/theme
../../home/wpaperd.nix
];
wayland.windowManager.hyprland = {
settings = {
env = ["XCURSOR_SIZE, 24"];
exec-once = [
"hyprctl setcursor Dracula-cursors 24"
"wpaperd -d"
];
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"];
};
};
}