Skip to content

example: update hyprland.lua default springs - #15499

Merged
vaxerski merged 3 commits into
hyprwm:mainfrom
cebem1nt:main
Jul 22, 2026
Merged

example: update hyprland.lua default springs#15499
vaxerski merged 3 commits into
hyprwm:mainfrom
cebem1nt:main

Conversation

@cebem1nt

Copy link
Copy Markdown
Contributor

Describe your PR, what does it fix/add?

Since v0.56 springs changed a bit, so default windows animations are now slow. This PR fixes it

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

nope

Is it ready for merging, or does it need work?

ready

@github-actions
github-actions Bot requested a review from vaxerski July 20, 2026 14:42
@github-actions

Copy link
Copy Markdown

Codeowners approval required for this PR:

@erstarr

erstarr commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

I'm against having the default window and windowIn animations being "bouncy" (i.e. using spring "in the way it was intended" as some would say). Default should be the most generic to be applicable to the largest crowd.

The current default dampening is the critical dampening of the default mass and stiffness (i.e. no bounce) which practically makes it little different than a bezier curve anyway which, while it does do some extra steps, was a good default before 0.56 made it slower.

Your MR sets the dampening below the critical value thus making it bouncy. Not a good default imo

Simply making it faster to match the prev value is preferable.

@Dregu

Dregu commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

I think it's good that the example config has examples of many different features, like springs behaving like springs. It's not supposed to be used as is anyway, it's supposed to be kinda usable to open a terminal.

Comment thread example/hyprland.lua Outdated
@cebem1nt
cebem1nt requested a review from vaxerski July 20, 2026 16:01
@erstarr

erstarr commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

It's not supposed to be used as is anyway

I myself used the animation defaults all this time, and i can guarantee you that most people do too. Something not so bouncy will be best I think even if it must be bouncy to showcase the feature.

If you think of it as the example config as and example config and not a default config; you're right of course.

@vaxerski
vaxerski merged commit c4605ba into hyprwm:main Jul 22, 2026
6 of 8 checks passed
lwestlund added a commit to lwestlund/dotfiles that referenced this pull request Jul 23, 2026
Animations got changed in 0.56.0 and then after release the default
spring was updated in hyprwm/Hyprland#15499, but
that has a bit of a bounce to it that we can get rid of by increasing
the dampening just a little bit so that the animation is still quick.
@moizekan

Copy link
Copy Markdown

W

ksc98 pushed a commit to ksc98/Hyprland that referenced this pull request Jul 28, 2026
yes

---------

Co-authored-by: Vaxry <vaxry@vaxry.net>
s1as3r added a commit to s1as3r/dotfiles that referenced this pull request Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants