hyprfocus
hyprfocus copied to clipboard
Keyboard focus animation is always used
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: 69f3f23e90f1b9a6525a860c19ad2b17762f45f3
This works properly as long as input:follow_mouse = 0
but then you have to click to focus.
Can repro on latest version of both the plugin and Hyprland
I wonder if keyboardFocus
should be used