This already exists. Why you are reinventing the wheel again?!?
A lot of programs already implement the XDG Base Directory Specification[1], putting the configuration in the .config directory. These programs should just follow the ALREADY EXISTING specification.
If you want to understand it, the arch wiki[2] have a good explanation about all the directories.
This already exists. Why you are reinventing the wheel again?!?
A lot of programs already implement the XDG Base Directory Specification[1], putting the configuration in the .config directory. These programs should just follow the ALREADY EXISTING specification.
If you want to understand it, the arch wiki[2] have a good explanation about all the directories.
[1] https://specifications.freedesktop.org/basedir-spec/basedir-... [2] https://wiki.archlinux.org/title/XDG_Base_Directory