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 --- src/input/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/input/mod.rs') diff --git a/src/input/mod.rs b/src/input/mod.rs index 2aba1f97..c2667dfc 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -2113,6 +2113,11 @@ impl State { } self.niri.queue_redraw_all(); } + Action::LoadConfigFile => { + if let Some(watcher) = &self.niri.config_file_watcher { + watcher.load_config(); + } + } } } -- cgit