Read app name from /proc/self/exe
Set writable path to XDG_CONFIG_HOME if it exists.