[download]

install.sh

   1 #!/bin/bash
   2 
   3 umask 077
   4 cd "${0%/*}"
   5 
   6 find * -type d -exec mkdir ~/.{} \; -print 2>&-
   7 find * -type f -exec ln -s $@ $PWD/{} ~/.{} \; -print 2>&-
   8 find * -type l -exec ln -s $@ $PWD/{} ~/.{} \; -print 2>&-
   9 
  10 [[ $DISPLAY ]] || exit
  11 
  12 cd ~/.local/src
  13 for i in */[Mm]akefile; do make -sC ${i%/*} install; done
  14 
  15 cd ~/.local/share/fonts
  16 for i in *.7z; do
  17     [[ -d ${i%.7z} ]] || 7z x $i
  18 done
  19 
  20 # git clone --depth=1 https://github.com/vim/vim
  21 # git clone --depth=1 https://github.com/muennich/sxiv
  22 # git clone --depth=1 https://github.com/baskerville/sxhkd
  23 # git clone --depth=1 https://git.savannah.gnu.org/git/bash
  24 # git clone --depth=1 https://github.com/dunst-project/dunst