summaryrefslogtreecommitdiff
path: root/util.fish
diff options
context:
space:
mode:
Diffstat (limited to 'util.fish')
-rw-r--r--util.fish1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.fish b/util.fish
index 6633525..caae353 100644
--- a/util.fish
+++ b/util.fish
@@ -18,4 +18,5 @@ function error -a text
return 1
end
+set -q XDG_CONFIG_HOME && set CONFIG $XDG_CONFIG_HOME/caelestia || set CONFIG $HOME/.config/caelestia
set -q XDG_CACHE_HOME && set CACHE $XDG_CACHE_HOME/caelestia || set CACHE $HOME/.cache/caelestia