Git Product home page Git Product logo

Comments (7)

pyt0xic avatar pyt0xic commented on June 2, 2024 1

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.

from hyprfocus.

pyt0xic avatar pyt0xic commented on June 2, 2024 1

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

from hyprfocus.

VortexCoyote avatar VortexCoyote commented on June 2, 2024

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

from hyprfocus.

daxisunder avatar daxisunder commented on June 2, 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.

from hyprfocus.

daUnknownCoder avatar daUnknownCoder commented on June 2, 2024

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

from hyprfocus.

daxisunder avatar daxisunder commented on June 2, 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
}

from hyprfocus.

daxisunder avatar daxisunder commented on June 2, 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.

from hyprfocus.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.