From 67361f88fd01974ebee4cf80f0e29c87d805cc39 Mon Sep 17 00:00:00 2001 From: vanderlokken Date: Sat, 9 Aug 2025 16:20:08 +0400 Subject: Add the `LoadConfigFile` action (#2163) * Add the `LoadConfigFile` action * fixes --------- Co-authored-by: Ivan Molodetskikh --- niri-config/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'niri-config') diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index 220f6be5..88ebe842 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -1924,6 +1924,8 @@ pub enum Action { SetWindowUrgent(u64), #[knuffel(skip)] UnsetWindowUrgent(u64), + #[knuffel(skip)] + LoadConfigFile, } impl From for Action { @@ -2199,6 +2201,7 @@ impl From for Action { niri_ipc::Action::ToggleWindowUrgent { id } => Self::ToggleWindowUrgent(id), niri_ipc::Action::SetWindowUrgent { id } => Self::SetWindowUrgent(id), niri_ipc::Action::UnsetWindowUrgent { id } => Self::UnsetWindowUrgent(id), + niri_ipc::Action::LoadConfigFile {} => Self::LoadConfigFile, } } } -- cgit