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

Keyboard focus animation is always used #7

Open
OverFitted opened this issue Aug 30, 2023 · 3 comments
Open

Keyboard focus animation is always used #7

OverFitted opened this issue Aug 30, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@OverFitted
Copy link

I changed mouse_focus_animation to nothing and keyboard_focus_animation to flash. When I focus using mouse (touchpad actually) it still plays flash animation. If I change keyboard focus animation to shrink, it plays shrink over mouse too.

Config:

plugin = /home/user/Documents/hyprland_plugins/hyprfocus.so

plugin:hyprfocus {
    enabled = yes

    keyboard_focus_animation = flash
    mouse_focus_animation = nothing

    bezier = bezIn, 0.7,0.3,1.0,0.7
    bezier = bezOut, 0.0,0.5,0.5,1.0

    flash {
        flash_opacity = 0.8

        in_bezier = bezIn
        in_speed = 0.5

        out_bezier = bezOut
        out_speed = 2
    }

    shrink {
        shrink_percentage = 0.9

        in_bezier = bezIn
        in_speed = 0.5

        out_bezier = bezOut
        out_speed = 3
    }
}

Hyprland version: 0.28.0
Hyprfocus version: 69f3f23

@VortexCoyote VortexCoyote added the bug Something isn't working label Sep 10, 2023
@Lord-Valen
Copy link

This works properly as long as input:follow_mouse = 0 but then you have to click to focus.

@ThatOneCalculator
Copy link

Can repro on latest version of both the plugin and Hyprland

@ThatOneCalculator
Copy link

I wonder if keyboardFocus should be used

@daxisunder daxisunder mentioned this issue Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants