Configuration files should be stored in $XDG_CONFIG_HOME
(by default at ~/.config
) #558
Description
Is your feature request related to a problem? Please describe.
I strive to have a clean home directory, but there are many files related to WakaTime in ~
:
.wakatime.bdb
.wakatime.cfg
.wakatime.db
.wakatime.log
.wakatime-internal.cfg
(since Seperate file for waketime.cfg/[settings] from [internal] #535)
Describe the solution you'd like to see
A lot of softwares find their configuration in $XDG_CONFIG_HOME
(by default at ~/.config
), which helps to have a less cluttered ~
.
WakaTime could use the same convention to place the configuration files such as .wakatime.cfg
in $XDG_CONFIG_HOME/wakatime
(which would be ~/.config/wakatime
by default), and data files such as .wakatime.db
in $XDG_DATA_HOME/wakatime
or $XDG_CACHE_HOME/wakatime
.
Describe alternatives you've considered
Another solution would be to group them in a new directory such as ~/.wakatime
.
Additional context
This feature request describes the behavior in a Unix environment, but macOS and Windows have their own conventions, even if the XDG Base Directory Specification leaks on them a little. I let you choose what suits the most for those platforms.