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

Hey @VortexCoyote, i wanted to ask if i can disable animations on float windows? #16

Open
daUnknownCoder opened this issue Feb 15, 2024 · 7 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@daUnknownCoder
Copy link

I would love to disable these flash/shrink animations on float windows as i use scratchpads and when i open or close them, it flashes like i cant tolerate it...

so this may be more of a feature request-> disable animations when using floating windows like: when opening windows, no flash/shrink, and when returning to tiled window, dont flash like i dont like this behavior

2024-02-15_14-04-54.mp4
@VortexCoyote VortexCoyote added enhancement New feature or request good first issue Good for newcomers labels Feb 26, 2024
@VortexCoyote
Copy link
Owner

I think this should be easy enough. I'll see if i can add an option for it in the near future!

@daxisunder daxisunder mentioned this issue Mar 2, 2024
@pyt0xic
Copy link

pyt0xic commented Mar 24, 2024

I would love to disable these flash/shrink animations on float windows as i use scratchpads and when i open or close them, it flashes like i cant tolerate it...

so this may be more of a feature request-> disable animations when using floating windows like: when opening windows, no flash/shrink, and when returning to tiled window, dont flash like i dont like this behavior
2024-02-15_14-04-54.mp4

I am busy testing this in my fork, if time permits, I will push an update later today.

@daxisunder
Copy link

daxisunder commented Mar 28, 2024

I am busy testing this in my fork, if time permits, I will push an update later today.

@pyt0xic Man, this woks great, really nice enhancement.

@daUnknownCoder
Copy link
Author

Hi @pyt0xic, I saw your fork but I didn't find any info on toggling this thing?

@daxisunder
Copy link

daxisunder commented Apr 4, 2024

@daUnknownCoder r You have the animate_floating variable.

plugin:hyprfocus {
enabled = yes
animate_floating = no
animate_workspacechange = yes

focus_animation = flash

#Beziers for focus animations
bezier = bezIn, 0.5,0.0,1.0,0.5
bezier = bezOut, 0.0,0.5,0.5,1.0
bezier = overshot, 0.05, 0.9, 0.1, 1.05
bezier = smoothIn, 0.25, 1, 0.5, 1
bezier = smoothOut, 0.36, 0, 0.66, -0.56
bezier = realsmooth, 0.28,0.29,.69,1.08

#Flash settings
flash {
flash_opacity = 0.3
in_bezier = realsmooth
in_speed = 1
out_bezier = realsmooth
out_speed = 3
}
#Shrink settings
shrink {
shrink_percentage = .97
in_bezier = bezIn
in_speed = 1
out_bezier = bezOut
out_speed = 1.5
}

@daxisunder
Copy link

@pyt0xic You should merge @selitalov pull request for the latest Hyprland 0.38.0, otherwise it won't build and it breaks Hyprland on hyprfocus update.

@pyt0xic
Copy link

pyt0xic commented Apr 4, 2024

@pyt0xic You should merge @selitalov pull request for the latest Hyprland 0.38.0, otherwise it won't build and it breaks Hyprland on hyprfocus update.

Thanks for the heads up and for sharing the config 🙏

I'm about to board a plane now, will do it when I get back home.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants