aboutsummaryrefslogtreecommitdiff
path: root/niri-config/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-config/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-config/src')
-rw-r--r--niri-config/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
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<niri_ipc::Action> for Action {
@@ -2199,6 +2201,7 @@ impl From<niri_ipc::Action> 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,
}
}
}