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 | |
parent | f71f4d6dc53abf0b8de266f4ecf4a8ee10069bd6 (diff) | |
download | dotfiles-8168429a6f82a0f867960cd3e886d8b5ecdc9cd0.tar.gz |
store sxiv thumbs and vimtags in tmpfs
-rw-r--r-- | .config/init/vars | 52 | ||||
-rw-r--r-- | .xinitrc | 16 | ||||
-rw-r--r-- | .zprofile | 4 |
3 files changed, 37 insertions, 35 deletions
diff --git a/.config/init/vars b/.config/init/vars index 9a0f005..af1a09c 100644 --- a/.config/init/vars +++ b/.config/init/vars @@ -164,32 +164,32 @@ # No Matter Where # -#wallpaper='no matter where.png' -# -#std_black='#000000' -#std_red='#c32752' -#std_green='#7c8f5d' -#std_yellow='#ffbe66' -#std_blue='#644cbd' -#std_magenta='#d8679f' -#std_cyan='#67a477' -#std_white='#f4c6bc' -# -#light_black='#2e1817' -#light_red='#d86785' -#light_green='#c4d197' -#light_yellow='#f6d09d' -#light_blue='#a085e6' -#light_magenta='#f783c7' -#light_cyan='#b7c9b3' -#light_white='#fff7f5' -# -#bg_normal="$std_black" -#fg_normal="$std_white" -#bg_focus="$light_red" -#fg_focus="$light_white" -#bg_urgent="$std_red" -#fg_urgent="$light_white" +# wallpaper='no matter where.png' +# +# std_black='#000000' +# std_red='#c32752' +# std_green='#7c8f5d' +# std_yellow='#ffbe66' +# std_blue='#644cbd' +# std_magenta='#d8679f' +# std_cyan='#67a477' +# std_white='#f4c6bc' +# +# light_black='#2e1817' +# light_red='#d86785' +# light_green='#c4d197' +# light_yellow='#f6d09d' +# light_blue='#a085e6' +# light_magenta='#f783c7' +# light_cyan='#b7c9b3' +# light_white='#fff7f5' +# +# bg_normal="$std_black" +# fg_normal="$std_white" +# bg_focus="$light_red" +# fg_focus="$light_white" +# bg_urgent="$std_red" +# fg_urgent="$light_white" # # 花嫁 @@ -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 @@ -2,6 +2,10 @@ emulate sh -c 'source /etc/profile' export QT_STYLE_OVERRIDE=gtk +############# STORE VIMTAGS IN RAM ############ +[[ -d /tmp/ ]] && \ + touch /tmp/.vimtags && ln -sf /tmp/.vimtags . + ######### MAKE CABAL BUILDS AVAILABLE ######### [[ -d ~/.cabal/bin ]] && \ PATH=$PATH:~/.cabal/bin |