.install.sh

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