Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animate transitions #510

Open
tduarte opened this issue Nov 16, 2024 · 3 comments
Open

Animate transitions #510

tduarte opened this issue Nov 16, 2024 · 3 comments

Comments

@tduarte
Copy link

tduarte commented Nov 16, 2024

Is your feature request related to a problem?
When changing workspaces, the active workspace width does not animate when transitioning to a different workspace. It just abruptly changes sizes.

Describe the solution you'd like
It would be awesome to be able to add animations and transitions

Describe alternatives you've considered
It works just fine without animations, but it feels not polished

@smathles
Copy link
Contributor

Is this just for the default "dots" appearance? Idk if a smooth size transition would work for say when the workspaces are defined using either icons or numbered workspaces. I see that this could look pretty slick for the standard dots + wider dot as the default workspace indicator.

Ie top three wouldn't work with the icon changing sizes as you transition, but the bottom one would. Doesn't necessarily rule out something like a "fade-in" for the background highlighting though I guess 🤷‍♂️.

Tbh that honestly would look cool 😎

image

image

image

image

@aahsnr
Copy link

aahsnr commented Nov 17, 2024

@tduarte it's pretty easy actually. Checkout these dots https://github.com/l6174/hyprdots and look for the animations section of hyprland. Since HyprPanel has names for notification, overview, etc, he set animations based on their names. So far, when click on, let's say, the notfication icon, the notification center does slide to the left and vice versa for the overview panel, but unfortunately, there is no animation when u close them. But I just the rechecked his animation video and he didn't have my problem, so likely u wont either.

And regarding your workspace issue from the last pic from @smathles i did get animation without any problems

@tduarte
Copy link
Author

tduarte commented Nov 19, 2024

@smathles My setup and the issue I'm having is with the example from the last screenshot you sent (where the active workspace is wider than the others).

I checked the @zielOS hyprdots Github repository and the gif in the preview also does not animate when changing workspaces. I don't think the animation section of the Hyprland config would change anything given that I'm talking about the top bar.

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

No branches or pull requests

3 participants