From bb9d978d29cf21f64126e9d9e02a8bf829e121fa Mon Sep 17 00:00:00 2001 From: yuuhikaze Date: Sun, 26 Apr 2026 16:53:21 -0500 Subject: [PATCH] docs(hyprfocus): update README for granular control API --- hyprfocus/README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/hyprfocus/README.md b/hyprfocus/README.md index b56b9ec..8627d70 100644 --- a/hyprfocus/README.md +++ b/hyprfocus/README.md @@ -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 |