From 2264daf9860da9620f6a5b9d60ad13ee49b9fc38 Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Thu, 5 Feb 2026 16:59:54 +0100 Subject: [PATCH] changes to animations --- modules/wm/hyprland/animations.nix | 25 ++++++++++--------------- modules/wm/hyprland/keybindings.nix | 2 +- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/modules/wm/hyprland/animations.nix b/modules/wm/hyprland/animations.nix index fa99a61..d175c97 100644 --- a/modules/wm/hyprland/animations.nix +++ b/modules/wm/hyprland/animations.nix @@ -24,12 +24,6 @@ endX = 1.0; endY = 1.0; }; - bounce = { - startX = 0.6; - startY = 1.5; - endX = 0.8; - endY = 1; - }; slowFade = { startX = 0.4; startY = 1.0; @@ -52,13 +46,13 @@ in { }; workspaces = { - speed = 1.5; + speed = 4; curve = easeInOut; - style = "fade"; + style = "slidefade 5%"; }; specialWorkspace = { - speed = 4; + speed = 2; curve = easeInOut; style = "slidefadevert 10%"; }; @@ -69,15 +63,11 @@ in { }; windows = { - speed = 2; - curve = bounce; + speed = 3; + curve = easeInOut; style = "gnomed"; }; - windowsOut = { - enabled = false; - }; - layers = { speed = 1.5; curve = slowFade; @@ -88,6 +78,11 @@ in { speed = 1.5; curve = linear; }; + + fadeOut = { + speed = 10; + curve = linear; + }; }; }; }; diff --git a/modules/wm/hyprland/keybindings.nix b/modules/wm/hyprland/keybindings.nix index 4344774..a9c4bfe 100644 --- a/modules/wm/hyprland/keybindings.nix +++ b/modules/wm/hyprland/keybindings.nix @@ -136,7 +136,7 @@ in { mods = ["SUPER" "SHIFT"]; key = "S"; dispatcher = "exec"; - params = "hyprshot -m region --clipboard-only"; + params = "pkill hyprshot || hyprshot -m region --clipboard-only"; } {