This adds standard location getting static methods to the corelib class, and replaces hardcoded .config and .local/share with corresponding method calls everywhere I was able to find them.
Unless I've mistaken somewhere (which is quite possible, since I've started learning C++ very recently), the behavior in default Linux environment (i.e. when XDG_*_HOME vars are not set) should stay unchanged.
Fixes #179
This adds standard location getting static methods to the
corelib
class, and replaces hardcoded.config
and.local/share
with corresponding method calls everywhere I was able to find them. Unless I've mistaken somewhere (which is quite possible, since I've started learning C++ very recently), the behavior in default Linux environment (i.e. whenXDG_*_HOME
vars are not set) should stay unchanged. Fixes #179