forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on a6baef7b68fcb60dfc57a9fc04e983cfd8a028acFiltered to src/utils/watcher.rsClear filter

2025-09-28

2025-09-27

Partially implement config includesIvan Molodetskikh · b3ae3ad
Partially implement config includes

Subsequent commits will add merging for all leftover sections.

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>

2025-02-12

2024-02-21

Move watcher to utilsIvan Molodetskikh · 9e60b34Browse files