[FIXED] artix-branding-base - neofetch, bug or annoyance
neofetch gets called in /etc/local.d/branding.start
On the first run it creates /.config/neofetch/config.conf instead of /root/.config/neofetch/config.conf
This bugs my own minor OCD. There should not be a .config dir in / (imho)
I've had a quick look into why it's doing this but I don't know. Neofetch run fron a root shell correctly puts its config file in /root/.config/neofetch/config.conf.
I tried source /etc/profile
at the top of /etc/local.d/branding.start but that made no difference.
I've fixed it for me by editing /etc/local.d/branding.start to:
neofetch --no_config >| /etc/issue
The config isn't really used. It's just default settings.
The neofetch output remains the same after the change but no more /.config/neofetch/config.conf
I did wonder if was a peculiarity of my migrated install so checked with a VM of artix-base-openrc. It's the same.