darkhz / invidtui

A TUI based Invidious client
MIT License
191 stars 6 forks source link

suggestion: custom runtime storage path #11

Closed elig0n closed 2 years ago

darkhz commented 2 years ago

Can you elaborate on why this feature should be implemented?

elig0n commented 2 years ago

Sure I used the app for awhile and now I found out that my home directory has several new unwanted files: config, state, playhistory.json & history. I simply don't like having runtime/history files thrown around my home directory like that and that's not a normal behavior for most linux apps. Most Linux programs store such persistent config/runtime files commonly in ~/.config/APPNAME ~/.local/share/APPNAME and ~/.cache

darkhz commented 2 years ago

Invidtui should be creating those files in a dedicated config directory (usually ~/.config/invidtui) by default. I wonder why it creates those files in your home directory. I agree, cluttering the home directory must not happen. Try reinstalling it once again and ensure that your ~/.config folder is writeable. I cannot reproduce this issue on my end, but I will have a look at it nevertheless.

darkhz commented 2 years ago

@elig0n does it still create files in your home directory after re-installation? Did you check whether your config directory is writable?

elig0n commented 2 years ago

It is writable and it did not aeem to do it again ever since then so I will be closing for now