XDG? OpenDesktop? Dunno what that is, time to dump everything into ~/.myawesomeapp
Oh, no. Don’t even make it a hidden folder, it needs to be right there, front and center. And make sure you use a bunch of capital letters in the name, because you’re so fucking important.
Android Studio
Laughs in NixOS
Nixos still slaps your home route with a bunch of . Files
Yes, but I never have to look at them
It really depends for what. I don’t think nginx config should be in $HOME/.conf/
Right? It goes into ~/Documents/
SMH my head
Everything into ~/Downloads/ until the partition is full.
but please don’t hard-code
~/.configor$HOME/.config. Use theXDG_CONFIG_HOMEenvironment variable, with$HOME/.configas a fallback if it’s not set.Many programming languages have a cross-platform implementation of this built in to their standard library. C# has
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)which uses XDG_CONFIG_HOME on Linux, local AppData on Windows, and whatever is the correct thing on MacOS (not very familiar with how things work on MacOS)Attention electron developers: under no circumstances do I want your entire app in .config.
As an alternative, how about my entire cache in
.config?Looking at you VSCode, with 3 unique cache folders.
You feel the curling of the monkey’s paw; the entire app is now in ~/.local/AppName
I mean… At least that’s more correct… If the monkey’s paw is giving us things that are better but not ideal i’m gonna use the fuck out of it.
Just give me ~/etc/
Use xdg-ninja to help clear out unwanted files not in your home folder, and give tips to move them into a normal folder like .config











