How to get spring animation for workspace switch without touchapd #4095
-
|
so i am on desktop computer without a touchpad but i still want the spring animation. is it possible |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Yes. The workspace switch animation is not limited to touchpad gestures; it is the animation for switching workspaces up/down, including normal keybind-driven switching. Configure it under animations {
workspace-switch {
spring damping-ratio=0.8 stiffness=700 epsilon=0.0001
}
}The default is already a spring: workspace-switch {
spring damping-ratio=1.0 stiffness=1000 epsilon=0.0001
}For more bounce, use a damping ratio below |
Beta Was this translation helpful? Give feedback.
Yes. The workspace switch animation is not limited to touchpad gestures; it is the animation for switching workspaces up/down, including normal keybind-driven switching.
Configure it under
animations:The default is already a spring:
For more bounce, use a damping ratio below
1.0. Lower stiffness makes it slower and more likely to visibly oscillate. I would avoid values above1.0for damping because the docs call out numerical stability issues with overdamped springs.