Simplification of cache placement with $XDG_CACHE_HOME #19

Closed
opened 2020-11-11 14:07:55 +00:00 by BachoSeven · 3 comments
BachoSeven commented 2020-11-11 14:07:55 +00:00 (Migrated from github.com)

Hi, thinking about the Freedesktop XDG specifications, I think it would be easier to set typiskt's cache dir at $XDG_CACHE_HOME/typiskt, and have that default to ~/.cache/typiskt if XDG_CACHE_HOME is unset, so that you don't need to have the cache-dir option nor TYPISKT_CACHE variable, since the user can control the cache folder through the aforementioned XDG variable. I think it's more elegant this way

Hi, thinking about the Freedesktop XDG specifications, I think it would be easier to set typiskt's cache dir at `$XDG_CACHE_HOME/typiskt`, and have that default to `~/.cache/typiskt` if `XDG_CACHE_HOME` is unset, so that you don't need to have the `cache-dir` option nor `TYPISKT_CACHE` variable, since the user can control the cache folder through the aforementioned XDG variable. I think it's more elegant this way
budRich commented 2020-11-11 21:05:59 +00:00 (Migrated from github.com)

Very good idea. And it's a oneline fix for me. I will include that in the next version. Thank you! What's your WPM?

Very good idea. And it's a oneline fix for me. I will include that in the next version. Thank you! What's your WPM?
BachoSeven commented 2020-11-11 21:10:03 +00:00 (Migrated from github.com)

Well, It was around 40 when I started using your program; now it's ~75:) (just checked by looking at the scorefile)

Well, It was around 40 when I started using your program; now it's ~75:) (just checked by looking at the `scorefile`)
budRich commented 2022-06-30 17:33:07 +00:00 (Migrated from github.com)

finally did this.

finally did this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bud/typiskt#19
No description provided.