aboutsummaryrefslogtreecommitdiff
path: root/niri-ipc/src
diff options
context:
space:
mode:
authorvanderlokken <vanderlokken@gmail.com>2025-08-09 16:20:08 +0400
committerGitHub <noreply@github.com>2025-08-09 12:20:08 +0000
commit67361f88fd01974ebee4cf80f0e29c87d805cc39 (patch)
tree593a2d419a6a830186b7027166ca637ee5232611 /niri-ipc/src
parentf74d83dccaa6e8fffb38c304dd5d1eae07b87d24 (diff)
downloadniri-67361f88fd01974ebee4cf80f0e29c87d805cc39.tar.gz
niri-67361f88fd01974ebee4cf80f0e29c87d805cc39.tar.bz2
niri-67361f88fd01974ebee4cf80f0e29c87d805cc39.zip
Add the `LoadConfigFile` action (#2163)
* Add the `LoadConfigFile` action * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
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.