diff options
author | katherine <shmibs@shmibbles.me> | 2017-02-14 10:29:57 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2017-02-14 10:29:57 -0700 |
commit | 8168429a6f82a0f867960cd3e886d8b5ecdc9cd0 (patch) | |
tree | 5fdc7304a7ce8fe077dd45b1636c4995a770cfef /.xinitrc | |
parent | f71f4d6dc53abf0b8de266f4ecf4a8ee10069bd6 (diff) | |
download | dotfiles-8168429a6f82a0f867960cd3e886d8b5ecdc9cd0.tar.gz |
store sxiv thumbs and vimtags in tmpfs
Diffstat (limited to '.xinitrc')
-rw-r--r-- | .xinitrc | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -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 |