kraanzu / smassh

Smassh your Keyboard, TUI Edition
GNU General Public License v3.0
1.41k stars 50 forks source link

💡 [FEAT] Full XDG compliance #48

Closed TheSast closed 10 months ago

TheSast commented 1 year ago

Is your feature request related to a problem? 😢 Please describe. termtyper does not fully respect the XDG Base Directory Specification.

Describe the solution you'd like 🤔 Store the [speed records word] and [speed records time] sections of $XDG_CONFIG_HOME/termtyper/termtyper.ini in $XDG_DATA_HOME/termtyper/termtyper.ini

kraanzu commented 1 year ago

Hey @TheSast , thanks for opening an issue. I'm actually in the process of making a lot of changes and will be adding this as well :)

kraanzu commented 10 months ago

All the config files should be now in the proper locations!

You can verify this by running these commands:

python -c "import appdirs; print(appdirs.user_config_dir('smassh'))"
python -c "import appdirs; print(appdirs.user_data_dir('smassh'))"