hyprfocus icon indicating copy to clipboard operation
hyprfocus copied to clipboard

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

Open daUnknownCoder opened this issue 1 year ago • 7 comments
trafficstars

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

https://github.com/VortexCoyote/hyprfocus/assets/84800625/940f3867-b913-4257-9750-270913734deb

daUnknownCoder avatar Feb 15 '24 08:02 daUnknownCoder

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

VortexCoyote avatar Feb 26 '24 09:02 VortexCoyote

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.

pyt0xic avatar Mar 24 '24 05:03 pyt0xic

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.

daxisunder avatar Mar 28 '24 09:03 daxisunder

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

daUnknownCoder avatar Apr 03 '24 18:04 daUnknownCoder

@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 avatar Apr 04 '24 08:04 daxisunder

@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.

daxisunder avatar Apr 04 '24 08:04 daxisunder

@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.

pyt0xic avatar Apr 04 '24 08:04 pyt0xic