aboutsummaryrefslogtreecommitdiffstats
path: root/.xinitrc
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2017-02-14 10:29:57 -0700
committerkatherine <shmibs@shmibbles.me>2017-02-14 10:29:57 -0700
commit8168429a6f82a0f867960cd3e886d8b5ecdc9cd0 (patch)
tree5fdc7304a7ce8fe077dd45b1636c4995a770cfef /.xinitrc
parentf71f4d6dc53abf0b8de266f4ecf4a8ee10069bd6 (diff)
downloaddotfiles-8168429a6f82a0f867960cd3e886d8b5ecdc9cd0.tar.gz
store sxiv thumbs and vimtags in tmpfs
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc16
1 files changed, 7 insertions, 9 deletions
diff --git a/.xinitrc b/.xinitrc
index b414d12..9a1c860 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -19,16 +19,14 @@ export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
fcitx &
-#clean up sxiv cache
-#and ensure necessary EV
-#exists
+#store sxiv cache in ram
export XDG_CACHE_HOME=/home/shmibs/.cache
-mkdir -p /tmp/sxiv
-ln -sf /tmp/sxiv /home/shmibs/.cache/sxiv
-sxiv -c
-
-#clear vimtags
-#rm ~/.vimtags
+if [ -d /tmp/ ]; then
+ mkdir -p /tmp/sxiv
+ cd /home/shmibs/.cache/
+ ln -sf /tmp/sxiv .
+ cd
+fi
#load more fonts
xset +fp /usr/share/fonts/local