aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-08-06 15:44:38 -0400
committerPinapelz <yukais@pinapelz.com>2026-08-29 21:41:34 -0700
commit4f49b43a30483ab152d6201182310cf01de87eb5 (patch)
treefae6fefac97e3b636cb90cbd117d126079767c15 /config/hypr
parent03d6f73b1b3e50f052a3c5bca24102958be7dfc6 (diff)
Fixed Spring-curves to work with HL 0.56+
Signed-off-by: Don Williams <don.e.williams@gmail.com> On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: CHANGELOG.md modified: config/hypr/animations/Spring-curves.conf modified: config/hypr/animations/Spring-curves.lua
Diffstat (limited to 'config/hypr')
-rw-r--r--config/hypr/animations/Spring-curves.conf4
-rw-r--r--config/hypr/animations/Spring-curves.lua7
2 files changed, 8 insertions, 3 deletions
diff --git a/config/hypr/animations/Spring-curves.conf b/config/hypr/animations/Spring-curves.conf
index 1663d16e..e59ef0f0 100644
--- a/config/hypr/animations/Spring-curves.conf
+++ b/config/hypr/animations/Spring-curves.conf
@@ -5,7 +5,9 @@
animations {
enabled = yes
- # Hyprland .conf uses bezier curves; these approximate the Lua spring presets.
+ # Legacy hyprlang has no real spring curves. These beziers approximate the
+ # Lua Spring-curves.lua presets and are unaffected by the HL 0.56 spring
+ # wall-clock timing change (only type = "spring" curves need retuning).
bezier = spring_fast, 0.18, 0.88, 0.14, 1.0
bezier = spring_slow, 0.25, 0.82, 0.18, 1.0
diff --git a/config/hypr/animations/Spring-curves.lua b/config/hypr/animations/Spring-curves.lua
index fefc3731..81701119 100644
--- a/config/hypr/animations/Spring-curves.lua
+++ b/config/hypr/animations/Spring-curves.lua
@@ -1,6 +1,9 @@
-- Spring Curves
-hl.curve("spring_fast", { type = "spring", mass = 2, stiffness = 30, dampening = 15 })
-hl.curve("spring_slow", { type = "spring", mass = 2, stiffness = 15, dampening = 10 })
+-- HL 0.56+ advances springs by real wall-clock time (no min tick floor).
+-- Pre-0.56 soft values (mass ~2, stiffness ~15-30) feel sluggish now.
+-- Speed on spring animations is largely ignored; stiffness/mass/dampening set pace.
+hl.curve("spring_fast", { type = "spring", mass = 1, stiffness = 280, dampening = 26 })
+hl.curve("spring_slow", { type = "spring", mass = 1, stiffness = 160, dampening = 24 })
-- Window animations
hl.animation({ leaf = "windows", enabled = true, speed = 1, spring = "spring_fast" })
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage