docs(hyprfocus): update README for granular control API

This commit is contained in:
yuuhikaze 2026-04-26 16:53:21 -05:00
parent 7700f6a52c
commit bb9d978d29

View file

@ -16,7 +16,10 @@ animation = hyprfocusOut, 1, 1.7, myCurve2
| name | description | type | default |
| --- | --- | --- | --- |
|mode|which mode to use (flash / bounce / slide) | str | flash |
| fade_opacity | for flash, what opacity to flash to | float | 0.8 |
| bounce_strength | for bounce, what fraction of the window's size to jump to | float | 0.95 |
| slide_height | for slide, how far up to slide | float | 20 |
| enable | enable or disable the plugin | bool | true |
| animate_floating | animate floating windows | bool | true |
| keyboard_focus_animation | animation for keyboard-driven focus changes (`flash` / `shrink` / `slide` / `none`) | str | flash |
| mouse_focus_animation | animation for mouse-driven focus changes (`flash` / `shrink` / `slide` / `none`) | str | none |
| fade_opacity | for flash, opacity at the peak of the animation | float | 0.8 |
| shrink_percentage | for shrink, fraction of the window size to scale to at the peak | float | 0.95 |
| slide_height | for slide, how many pixels to slide upward | float | 20 |