summaryrefslogtreecommitdiff
path: root/.local/bin/qotd
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/qotd')
-rwxr-xr-x.local/bin/qotd4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/qotd b/.local/bin/qotd
index 7bf6e03..5c7d72d 100755
--- a/.local/bin/qotd
+++ b/.local/bin/qotd
@@ -9,8 +9,8 @@ func older_than_today file {
test $mod != `date +%F
}
-set QUOTES $XDG_DATA_HOME/romir/quotes.yml
-set QOTD $XDG_CACHE_HOME/qotd
+set QUOTES $(XDG_DATA_HOME:$HOME/.local/share)/romir/quotes.yml
+set QOTD $(XDG_CACHE_HOME:$HOME/.cache)/qotd
if older_than_today $QUOTES {
mkdir -p `dirname $QUOTES