Commits
2025-08-17
Add ConfigLoaded event to IPC, option to disable built-in notification (#1829)Horu · Unverified271534e
Add ConfigLoaded event to IPC, option to disable built-in notification (#1829) * feat: config reload ipc event * cleanups * Rename and move the new config option * rename to ConfigLoaded and emit at connection --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-08-15
watcher: Refactor tests to not use threadsIvan Molodetskikh · 6d0505e
watcher: Refactor tests to not use threads Fixes flakiness, removes unnecessary waiting.
2025-08-14
watcher: Mark tests as ignoredIvan Molodetskikh · 8b4517a
watcher: Mark tests as ignored Until someone figures out how to fix the flakiness. See https://github.com/YaLTeR/niri/issues/2226
2025-08-09
Add the `LoadConfigFile` action (#2163)vanderlokken · Unverified67361f8
Add the `LoadConfigFile` action (#2163) * Add the `LoadConfigFile` action * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-08-05
fix hot reloading `/etc/niri/config.kdl` (#1907)sodiboo · Unverified52c579d
fix hot reloading `/etc/niri/config.kdl` (#1907) * refactor config load logic, and properly watch the system config path * move config creation to niri-config, and make the errors a bit nicer notably, "error creating config" is now a cause for "error loading config", instead of it being one error and then "error loading config: no such file or directory". also, failure to load a config is now printed as an error level diagnostic (because it is indeed an error, not just a warning you can shrug off) * refactor watcher tests; add some new ones now they check for the file contents too! and i added some tests for ConfigPath::Regular, including a messy one with many symlink swaps * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>