nixos-configs/modules/hyprland/style.nix
matt1432 b05abe05ff
All checks were successful
Discord / discord commits (push) Has been skipped
feat(theme): use adwaita with gradience for gtk theme
2024-03-11 12:23:15 -04:00

37 lines
783 B
Nix

{
config,
pkgs,
...
}: let
inherit (config.vars) configDir;
in {
imports = [../../home/theme];
home.packages = with pkgs; [swww];
wayland.windowManager.hyprland = {
settings = {
env = ["XCURSOR_SIZE, 24"];
exec-once = [
"hyprctl setcursor Dracula-cursors 24"
"sleep 0.1 && swww init --no-cache && swww img -t none ${pkgs.dracula-theme}/wallpapers/waves.png"
];
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"];
};
};
}