From 6f9016ca68d983fe4f046ca1c7197227f45d417b Mon Sep 17 00:00:00 2001 From: hydrargyrum Date: Thu, 6 Oct 2022 20:52:26 +0200 Subject: [PATCH] change emojidir to ~/.cache/shmoji The rationale is `.cache` seems better suited for a file that's not meant to be ever edited but merely downloaded from a source as a reference file. Like `.local/share`, `.cache` is defined by Freedesktop XDG Base Directory Specification. The environment variable should be `$XDG_CACHE_HOME`. --- shmoji | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shmoji b/shmoji index 14f0640..545e07f 100755 --- a/shmoji +++ b/shmoji @@ -11,7 +11,7 @@ set -e cmd="$1" -emojidir="$HOME/.local/share/shmoji" +emojidir="$HOME/.cache/shmoji" emojifile="$emojidir/emojis.txt" die() {