lemnos / tt

A terminal based typing test.
MIT License
737 stars 49 forks source link

fix: move directory to .local/share #26

Closed k2on closed 2 years ago

k2on commented 2 years ago

Comply with https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

AulonSal commented 2 years ago

To be pedantic, this only uses the defaults of the XDG Basedir spec, complying with the spec would require reading $XDG_DATA_HOME.

k2on commented 2 years ago

@AulonSal you're right, I still think its better than having a .tt dir in the homedir

rvaiya commented 2 years ago

Thanks. I clean it up a bit and added support for $XDG_DATA_HOME as a fallback.