Open llmII opened 2 years ago
Waybar uses XDG_CONFIG_HOME (excuse me if I butcher the environment variable names) for it's config. It would be nice if instead of a hardcoded "~/Downloads/tzdata" (excuse me if I butcher the exact path spec) we could use XDG_DOWNLOAD_DIR (from user dirs) or even something like XDG_CACHE_HOME.
Basically, I chmod my $HOME to 5xx (550, 500, or whatever) which is intended to make the $HOME "readonly" to a degree (keep programs from creating pesky directories in $HOME instead of in XDG places, or per some other specifier). My (ugly IMO) workaround was to
ln -s $XDG_DOWNLOAD_DIR ~/Downloads
. Sure it makes the stuff go where I want it to (not really, this really shouldn't be in Downloads, since I feel entirely free to delete everything in there, it's definitely assumed about the only things that fill that directory are created by some odd browser), but it does mean I have an extra entry in $HOME that I intended never be there.This is under FreeBSD with the package installed with
pkg
.
I would like to add to this issue, inspite of having the timezone specified it still downloads and creates the tzdata folder in ~/Downloads instead of my other specified XDG_USER_DIR. Facing the issue in FreeBSD 13
Waybar uses XDG_CONFIG_HOME (excuse me if I butcher the environment variable names) for it's config. It would be nice if instead of a hardcoded "~/Downloads/tzdata" (excuse me if I butcher the exact path spec) we could use XDG_DOWNLOAD_DIR (from user dirs) or even something like XDG_CACHE_HOME.
Basically, I chmod my $HOME to 5xx (550, 500, or whatever) which is intended to make the $HOME "readonly" to a degree (keep programs from creating pesky directories in $HOME instead of in XDG places, or per some other specifier). My (ugly IMO) workaround was to
ln -s $XDG_DOWNLOAD_DIR ~/Downloads
. Sure it makes the stuff go where I want it to (not really, this really shouldn't be in Downloads, since I feel entirely free to delete everything in there, it's definitely assumed about the only things that fill that directory are created by some odd browser), but it does mean I have an extra entry in $HOME that I intended never be there.This is under FreeBSD with the package installed with
pkg
.