mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 18:53:51 +00:00
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
|
{ pkgs, inputs, ... }: {
|
||
|
wayland.windowManager.hyprland = {
|
||
|
plugins = with inputs; [ hyprfocus.packages.${pkgs.system}.default ];
|
||
|
settings.plugin = {
|
||
|
# FOCUS
|
||
|
hyprfocus = let
|
||
|
in_bezier = "realsmooth";
|
||
|
out_bezier = "realsmooth";
|
||
|
in {
|
||
|
enabled = "yes";
|
||
|
animate_floating = "yes";
|
||
|
animate_workspacechange = "yes";
|
||
|
focus_animation = "focus";
|
||
|
# ANIMATIONS STYLE
|
||
|
bezier = [
|
||
|
"bezIn, 0.5, 0.0, 1.0, 0.5 "
|
||
|
"bezOut, 0.0, 0.5, 0.5, 1.0 "
|
||
|
"overshot, 0.05, 0.9, 0.1, 1.05 "
|
||
|
"smoothOut, 0.36, 0, 0.66, -0.56"
|
||
|
"smoothIn, 0.25, 1, 0.5, 1 "
|
||
|
"realsmooth, 0.28, 0.29, .69, 1.08 "
|
||
|
];
|
||
|
# FLASH MODE
|
||
|
flash = {
|
||
|
inherit in_bezier out_bezier;
|
||
|
flash_opacity = 0.95;
|
||
|
in_speed = 0.5;
|
||
|
out_speed = 3;
|
||
|
};
|
||
|
# SHRINK MODE
|
||
|
shrink = {
|
||
|
inherit in_bezier out_bezier;
|
||
|
shrink_percentage = 0.95;
|
||
|
in_speed = 1;
|
||
|
out_speed = 2;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|