sistema_progs

Programas para customizar o meu entorno de traballo nos meus equipos persoais
Log | Files | Refs

uninstall.sh (319B)


      1 #!/usr/bin/env bash
      2 
      3 DATA="${XDG_DATA_HOME:-${HOME}/.local/share}/icons-in-terminal/"
      4 
      5 set -xe
      6 
      7 rm -f ~/.config/fontconfig/conf.d/30-icons.conf
      8 rm -f ~/.fonts/icons-in-terminal.ttf
      9 rm -rf "$DATA"
     10 
     11 fc-cache -fvr --really-force > /dev/null
     12 
     13 set +xe
     14 
     15 echo "icons-in-terminal uninstalled. Close all your terminal windows."