nixos-configs/modules/hyprland/style.nix
matt1432 ecbabde0bd
All checks were successful
Discord / discord commits (push) Has been skipped
feat(hypr): update config with latest variables from hyprland
2024-06-15 01:40:26 -04:00

34 lines
681 B
Nix

{config, ...}: let
inherit (config.vars) configDir;
in {
imports = [
../../home/theme
../../home/wpaperd.nix
];
wayland.windowManager.hyprland = {
settings = {
envd = ["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"];
};
};
}