update niri config to make fcitx5 "go through" properly.

This commit is contained in:
2025-12-04 02:20:42 +08:00
parent 6c6f1662a6
commit 2b2386bbbe

View File

@@ -133,8 +133,9 @@ overview {
zoom 0.5 zoom 0.5
} }
switch-events { debug {
lid-close { spawn "bash" "-c" "swaylock" "&&" "systemctl" "suspend"; } // strict-new-window-focus-policy // useless in 25.11?
deactivate-unfocused-windows
} }
gestures { gestures {
@@ -154,42 +155,42 @@ animations {
// Slow down all animations by this factor. Values below 1 speed them up instead. // Slow down all animations by this factor. Values below 1 speed them up instead.
// slowdown 3.0 // slowdown 3.0
window-open { window-open {
spring damping-ratio=0.80 stiffness=400 epsilon=0.0001 spring damping-ratio=0.80 stiffness=400 epsilon=0.0001
} }
window-close { window-close {
duration-ms 350 duration-ms 350
curve "ease-out-expo" curve "ease-out-expo"
} }
window-resize { window-resize {
spring damping-ratio=1.0 stiffness=300 epsilon=0.0001 spring damping-ratio=1.0 stiffness=300 epsilon=0.0001
} }
window-movement { window-movement {
spring damping-ratio=1.0 stiffness=300 epsilon=0.0001 spring damping-ratio=1.0 stiffness=300 epsilon=0.0001
} }
overview-open-close { overview-open-close {
duration-ms 300 duration-ms 300
curve "ease-out-quad" curve "ease-out-quad"
} }
horizontal-view-movement { horizontal-view-movement {
duration-ms 500 duration-ms 500
curve "ease-out-expo" curve "ease-out-expo"
} }
workspace-switch { workspace-switch {
duration-ms 500 duration-ms 500
curve "ease-out-expo" curve "ease-out-expo"
} }
screenshot-ui-open { screenshot-ui-open {
duration-ms 400 duration-ms 400
curve "ease-out-cubic" curve "ease-out-cubic"
} }
} }
window-rule { window-rule {