[Request] Auto-theme niri window borders, etc.
I've noticed that DMS seems to put a config via matugen, and I'm not entirely sure how to use it. AFAIK, there isn't really includes or sources to grab it from config.kdl despite my various checks on DMS' & Niri's wikis. so the only thing I can think of is putting my entire config inside the original config matugen takes which would be, very inconvenient. is there some way that I have not come across yet, or is that truly the only way?
Compositor
- [X] niri
- [ ] Hyprland
- [ ] other
The matugen template isnt even complete or good because niri doesn't have support for includes yet. I'm working on contributing support for it upstream in niri, in which case auto-theming niri will be possible. But yea, not possible easily.
I could mod user's niri config.kdl directly - but I considered it too risky (too risky to risk corrupting configurations accidentally or wiping desired features), so imports is really the only way tbh.
Going to leave this issue open as a tracker though - just changed the title and labels.
@bbedward opened a PR for this matter here: https://github.com/YaLTeR/niri/pull/2340
@transchimerism I am currently accomplishing this using Niri-Companion. It allows you to make your niri config into partials and has a watcher daemon for changes that I have load on startup for niri. So I get instant Niri border color switching when the wallpaper changes.
Done in 53fb927e36a1f2c2e923fdbb8a7bdfe0e623aad9
See the README section
We will have a full GUI for configuring dms and compositor keybinds as well, but it's blocked by this one https://github.com/quickshell-mirror/quickshell/pull/277 for now so it'll come later.