nixos-configs/modules/desktop/desktop-environment/home/style.nix
matt1432 85a3c28438
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: start making flake exposed modules with desktop
2024-06-27 00:56:27 -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"];
};
};
}