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-ipc/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'niri-ipc') diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs index 7fbd8cd5..70175c01 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -840,6 +840,11 @@ pub enum Action { #[cfg_attr(feature = "clap", arg(long))] id: u64, }, + /// Reload the config file. + /// + /// Can be useful for scripts changing the config file, to avoid waiting the small duration for + /// niri's config file watcher to notice the changes. + LoadConfigFile {}, } /// Change in window or column size. -- cgit