f2 icon indicating copy to clipboard operation
f2 copied to clipboard

RFE: Avoid cluttering $HOME, move config files/data to their appropriate place.

Open volklord opened this issue 5 years ago • 2 comments

Short description: f2 writes to $HOME/.f2

What is wrong with this? If all programs would write to $HOME, one would end up with $HOME full of dot files/dirs. This not only leads to cutter, but makes it difficult for backup. There are also folks who manage their $HOME or part(s) of it with git. So if apps write non important stuff directly to $HOME, you can imagine how many changes git would report. One would also backup this stuff. Their exists a standard that defines where an application should save {config, temporary, cache,...} files. For more information have a look at XDG spec.

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

Go implementations of the the spec (random): https://github.com/adrg/xdg https://github.com/rkoesters/xdg

F2 version v1.6.7

volklord avatar Aug 01 '21 13:08 volklord

Thank you for bringing this to my attention. I will ensure to fix this in the next release.

ayoisaiah avatar Aug 01 '21 15:08 ayoisaiah

Fixed https://github.com/ayoisaiah/f2/commit/4eedf6b60839521dcf0996371bd86f92a79f971d

ayoisaiah avatar Aug 02 '21 21:08 ayoisaiah