summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-08-14 16:12:45 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-08-14 16:12:45 -0400
commit8ec326580795b580dc981c9c220d17888f62762a (patch)
tree3bee24bf7110749a8e7e4d836e45e0812dc7f9de
parent1d71fab074e22e830554b0b5a73ec9a092643d07 (diff)
wmii: put the history files in XDG_CACHE_HOME
-rw-r--r--.config/wmii/config.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/wmii/config.sh b/.config/wmii/config.sh
index b87ae5c..8d40474 100644
--- a/.config/wmii/config.sh
+++ b/.config/wmii/config.sh
@@ -6,7 +6,8 @@ DOWN=n
LEFT=b
RIGHT=f
-HIST="`conffile history`"
+HIST="$XDG_CACHE_HOME/wmii/history"
+mkdir -p "${HIST%/*}"
# Colors tuples: "<text> <background> <border>"
. `conffile theme-solarized-dark`