cornflake/home-manager/hyprland-theme-thin.nix
2026-01-03 22:04:35 +09:00

48 lines
1.1 KiB
Nix

{ pkgs, lib, ... }:
{
wayland.windowManager.hyprland = {
settings = {
general = lib.mkForce {
gaps_in = 0;
gaps_out = 0;
border_size = 2;
"col.active_border" = "rgba(6e848cee) rgba(eeeeffee) 90deg";
"col.inactive_border" = "rgba(595959aa)";
layout = "dwindle";
allow_tearing = true;
};
decoration = lib.mkForce {
rounding = 0;
blur = {
enabled = true;
size = 6;
passes = 2;
noise = 0.01;
contrast = 0.8;
brightness = 0.5;
vibrancy = 0.25;
vibrancy_darkness = 0.1;
};
shadow = {
enabled = false;
};
dim_inactive = false;
};
animations = lib.mkForce {
enabled = true;
animation = [
"windowsIn, 1, 1, default, popin 90%"
"windowsOut, 1, 100, default, popin 80%"
"windowsMove, 1, 3, default"
"border, 1, 10, default"
"borderangle, 1, 8, default"
"fade, 1, 7, default"
"workspaces, 1, 5, default, slidefade 10%"
];
};
};
};
}