setup_system.sh 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #!/bin/bash
  2. #the bare essentials
  3. apt install -y vim
  4. ~/dotfiles/setup-vim.sh
  5. apt install -y git
  6. #window manager
  7. apt install -y sway
  8. apt install -y swaybg
  9. mkdir -p .config/sway
  10. ln -s ~/dotfiles/devuan_setup/config/sway/config ~/.config/sway/config
  11. rm -rf ~/.profile
  12. ln -s ~/dotfiles/devuan_setup/.profile ~/.profile
  13. ln -s ~/dotfiles/devuan_setup/config/user-dirs.dirs ~/.config/
  14. #image viewer
  15. apt install -y imv
  16. #let there be sound (over bluetooth too)!
  17. apt install -y pulseaudio
  18. apt install -y pulseaudio-module-bluetooth
  19. apt install -y pulsemixer
  20. apt install -y bluez
  21. apt install -y bluez-firmware
  22. apt install -y bluez-tools
  23. #screen brightness control
  24. apt install -y brightnessctl
  25. #displays "progress" bars - used for brightness and volume
  26. apt install -y wob
  27. #launcher
  28. apt install -y wofi
  29. mkdir -p .config/wofi
  30. ln -s ~/dotfiles/devuan_setup/config/wofi/style.css ~/.config/wofi/style.css
  31. ln -s ~/dotfiles/devuan_setup/config/wofi/config ~/.config/wofi/config
  32. #wofi will search for desktop files in here
  33. mkdir -p ~/.local/share/applications
  34. #wifi and bluetooth
  35. apt install -y connman-gtk
  36. #automount external drives
  37. apt install -y udiskie
  38. #clipboard manager
  39. apt install -y clipman
  40. #love2d stuff
  41. apt install -y love
  42. apt install -y apktool
  43. #actual programs
  44. apt install -y zsh
  45. apt install -y firefox-esr
  46. apt install -y inkscape
  47. apt install -y flameshot
  48. apt install -y thunar
  49. apt remove -y thunar-volman
  50. #work stuff
  51. apt install -y git-flow
  52. apt install -y docker.io
  53. apt install -y docker-compose
  54. apt install -y npm
  55. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
  56. DOCKER_COMPOSE_VERSION=$(curl --silent https://api.github.com/repos/docker/compose/releases/latest | grep -Po '"tag_name": "\K.*\d')
  57. DOCKER_COMPOSE_PATH=/usr/local/bin/docker-compose
  58. curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o $DOCKER_COMPOSE_PATH
  59. chmod 755 $DOCKER_COMPOSE_PATH