get_personal_backup_files.ksh 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #!/bin/ksh
  2. doas pkg_add curl
  3. cd || return
  4. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/openbsd/.Xresources"
  5. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/openbsd/.Xdefaults"
  6. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/openbsd/.profile"
  7. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/openbsd/.xsession"
  8. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/openbsd/.kshrc"
  9. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/openbsd/.tmux.conf"
  10. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/openbsd/.cwmrc"
  11. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/openbsd/.vimrc"
  12. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/openbsd/.rtorrent.rc"
  13. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/openbsd/.picom.conf"
  14. mkdir -p "$HOME"/.prboom-plus/ && cd "$HOME"/.prboom-plus/ || return
  15. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.prboom-plus/prboom-plus.cfg"
  16. cd || return
  17. mkdir -p "$HOME"/.dosbox/ && cd "$HOME"/.dosbox/ || return
  18. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.dosbox/dosbox-0.74-3.conf"
  19. cd || return
  20. mkdir -p "$HOME"/.config/gzdoom/ && cd "$HOME"/.config/gzdoom/ || return
  21. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/gzdoom/gzdoom.ini"
  22. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/gzdoom/gzdoom_chex.ini"
  23. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/gzdoom/gzdoom_chex_mouseonly.ini"
  24. cd || return
  25. mkdir -p "$HOME"/.config/i3/ && cd "$HOME"/.config/i3/ || return
  26. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/i3/config"
  27. cd || return
  28. mkdir -p "$HOME"/.config/i3status/ && cd "$HOME"/.config/i3status/ || return
  29. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/i3status/config"
  30. cd || return
  31. mkdir -p "$HOME"/.config/mc/ && cd "$HOME"/.config/mc/ || return
  32. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/mc/hotlist"
  33. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/mc/ini"
  34. cd || return
  35. mkdir -p "$HOME"/.config/mpv/ && cd "$HOME"/.config/mpv/ || return
  36. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/mpv/input.conf"
  37. curl -OL "https://notabug.org/lea2501/dotfiles/raw/main/.config/mpv/mpv.conf"
  38. cd || return
  39. mkdir -p "$HOME"/.config/geany/colorschemes/ && cd "$HOME"/.config/geany/colorschemes/ || return
  40. curl -OL "https://raw.github.com/geany/geany-themes/master/colorschemes/bespin.conf"
  41. cd || return
  42. print "Get backup dotfiles from github... DONE"