dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
commit 4776c6b4cb22dee81e593c1ac5e35080e800c017 parent 90b854db00992a5f304b27ba58f05cca73f9706d Author: maydayv7 <maydayv7@gmail.com> Date: Mon, 26 Feb 2024 16:07:41 +0530 feat(Hyprland): Better Animations
Diffstat:
| M | modules/gui/desktop/hyprland/settings/default.nix | | | 25 | +++++++++++++++++++++++++ |
1 file changed, 25 insertions(+), 0 deletions(-)
diff --git a/modules/gui/desktop/hyprland/settings/default.nix b/modules/gui/desktop/hyprland/settings/default.nix @@ -92,6 +92,31 @@ "col.locked_active" = "rgb(${base0D})"; }; + animation = { + bezier = [ + "fluentish, 0, 0.2, 0.4, 1" + "easeOutCircle, 0, 0.55, 0.45, 1" + "easeOutCubic, 0.33, 1, 0.68, 1" + "easeInOutSine, 0.37, 0, 0.63, 1" + ]; + + animation = [ + "windowsIn, 1, 1.7, easeOutCubic, slide" + "windowsOut, 1, 1.7, easeOutCubic, slide" + "windowsMove, 1, 2.5, easeInOutSine, slide" + + # Fading + "fadeIn, 1, 3, easeOutCubic" + "fadeOut, 1, 3, easeOutCubic" + "fadeSwitch, 1, 5, easeOutCircle" + "fadeShadow, 1, 5, easeOutCircle" + "fadeDim, 1, 6, fluentish" + "border, 1, 2.7, easeOutCircle" + "workspaces, 1, 2, fluentish, slide" + "specialWorkspace, 1, 3, fluentish, slidevert" + ]; + }; + decoration = lib.mkIf sys.gui.fancy { rounding = 10; drop_shadow = true;