aboutsummaryrefslogtreecommitdiff
path: root/niri-ipc/src
diff options
context:
space:
mode:
Diffstat (limited to 'niri-ipc/src')
-rw-r--r--niri-ipc/src/lib.rs5
1 files changed, 5 insertions, 0 deletions
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.