summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-02-14 20:33:25 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-02-14 20:33:25 +0100
commit4d24e45deaf2ac83c4f2847042ea38abf7939099 (patch)
tree4195ed09b7177763b90c0571b20811a4ca394138
parent510ac0f8e89f8b5e90f9509d43b06d6de45318bf (diff)
qotd: Ensure WGETRC is set
-rwxr-xr-x.local/bin/qotd2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/qotd b/.local/bin/qotd
index 5c7d72d..056af85 100755
--- a/.local/bin/qotd
+++ b/.local/bin/qotd
@@ -9,6 +9,8 @@ func older_than_today file {
test $mod != `date +%F
}
+set -e WGETRC $(XDG_CONFIG_HOME:$HOME/.config)/wgetrc
+
set QUOTES $(XDG_DATA_HOME:$HOME/.local/share)/romir/quotes.yml
set QOTD $(XDG_CACHE_HOME:$HOME/.cache)/qotd