get_personal_backup_files.sh 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #!/bin/bash
  2. # fail if any commands fails
  3. set -e
  4. # debug log
  5. #set -x
  6. cd || return
  7. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/.xinitrc"
  8. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/.Xresources"
  9. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/.Xdefaults"
  10. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/.bashrc"
  11. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/.bash_profile"
  12. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/.bash_aliases"
  13. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/.tmux.conf"
  14. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/.cwmrc"
  15. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/.vimrc"
  16. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/.rtorrent.rc"
  17. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/.xbindkeysrc"
  18. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/arch/.picom.conf"
  19. mkdir -p ~/.prboom-plus/ && cd ~/.prboom-plus/ || return
  20. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.prboom-plus/prboom-plus.cfg"
  21. cd || return
  22. mkdir -p "$HOME"/.dosbox/ && cd "$HOME"/.dosbox/ || return
  23. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.dosbox/dosbox-0.74-3.conf"
  24. cd || return
  25. mkdir -p ~/.config/gzdoom/ && cd ~/.config/gzdoom/ || return
  26. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/gzdoom/gzdoom.ini"
  27. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/gzdoom/gzdoom_chex.ini"
  28. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/gzdoom/gzdoom_chex_mouseonly.ini"
  29. cd || return
  30. mkdir -p ~/.config/i3/ && cd ~/.config/i3/ || return
  31. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/i3/config"
  32. cd || return
  33. mkdir -p ~/.config/i3status/ && cd ~/.config/i3status/ || return
  34. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/i3status/config"
  35. cd || return
  36. mkdir -p ~/.config/mc/ && cd ~/.config/mc/ || return
  37. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/mc/hotlist"
  38. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/mc/ini"
  39. cd || return
  40. mkdir -p ~/.config/mpv/ && cd ~/.config/mpv/ || return
  41. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/mpv/input.conf"
  42. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/mpv/mpv.conf"
  43. cd || return
  44. mkdir -p ~/.config/geany/colorschemes/ && cd ~/.config/geany/colorschemes/ || return
  45. curl -OL "https://raw.github.com/geany/geany-themes/master/colorschemes/bespin.conf"
  46. cd || return