diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-09-30 09:10:34 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-10-02 09:38:17 +0300 |
| commit | 31f9577df92d79ded3e60cea54cd56f61a9bd470 (patch) | |
| tree | 9a752cfbdda2c99729b19fb85d139e0c3033cab9 /niri-config/src/lib.rs | |
| parent | 2eabc22b3831265bec4e4a0d5ed5e9c0a00f50ab (diff) | |
| download | niri-31f9577df92d79ded3e60cea54cd56f61a9bd470.tar.gz niri-31f9577df92d79ded3e60cea54cd56f61a9bd470.tar.bz2 niri-31f9577df92d79ded3e60cea54cd56f61a9bd470.zip | |
config: Add merging for Animations
Diffstat (limited to 'niri-config/src/lib.rs')
| -rw-r--r-- | niri-config/src/lib.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index ab63361d..18f52a95 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -191,7 +191,7 @@ where "clipboard" => m_merge!(clipboard), "hotkey-overlay" => m_merge!(hotkey_overlay), "config-notification" => m_merge!(config_notification), - "animations" => m_replace!(animations), + "animations" => m_merge!(animations), "gestures" => m_merge!(gestures), "overview" => m_merge!(overview), "xwayland-satellite" => m_merge!(xwayland_satellite), @@ -1303,9 +1303,7 @@ mod tests { }, animations: Animations { off: false, - slowdown: FloatOrInt( - 2.0, - ), + slowdown: 2.0, workspace_switch: WorkspaceSwitchAnim( Animation { off: false, |
