fix: use niri include instead of copying system config to user dir
Update PKGBUILD version / update-pkgver (push) Successful in 2s
Update PKGBUILD version / update-pkgver (push) Successful in 2s
transform.sh was hard-copying /etc/xdg/niri/config.kdl to ~/.config/niri/, causing the user config to go stale after system updates. Now seeds a minimal user config with `include "/etc/xdg/niri/config.kdl"` so system defaults always stay current and users can add overrides below the include.
This commit is contained in:
@@ -205,7 +205,7 @@ All system configs live in `/etc/xdg/` and can be overridden per-user in `~/.con
|
||||
|
||||
| Component | System Default | User Override |
|
||||
|-----------|---------------|---------------|
|
||||
| Niri | `/etc/xdg/niri/config.kdl` | `~/.config/niri/config.kdl` |
|
||||
| Niri | `/etc/xdg/niri/config.kdl` | `~/.config/niri/config.kdl` (includes system config) |
|
||||
| Waybar | `/etc/xdg/waybar/` | `~/.config/waybar/` |
|
||||
| Walker | `/etc/xdg/walker/` | `~/.config/walker/` |
|
||||
| Foot | `/etc/xdg/foot/foot.ini` | `~/.config/foot/foot.ini` |
|
||||
|
||||
Reference in New Issue
Block a user