setup_system.sh 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. #launcher
  26. apt install -y wofi
  27. mkdir -p .config/wofi
  28. ln -s ~/dotfiles/devuan_setup/config/wofi/style.css ~/.config/wofi/style.css
  29. ln -s ~/dotfiles/devuan_setup/config/wofi/config ~/.config/wofi/config
  30. #wofi will search for desktop files in here
  31. mkdir -p ~/.local/share/applications
  32. #wifi and bluetooth
  33. apt install -y connman-gtk
  34. #automount external drives
  35. apt install -y udiskie
  36. #clipboard manager
  37. apt install -y clipman
  38. #love2d stuff
  39. apt install -y love
  40. apt install -y apktool
  41. #actual programs
  42. apt install -y zsh
  43. apt install -y firefox-esr
  44. apt install -y inkscape
  45. apt install -y flameshot
  46. apt install -y thunar
  47. apt remove -y thunar-volman
  48. #work stuff
  49. apt install -y git-flow
  50. apt install -y docker.io
  51. apt install -y docker-compose
  52. apt install -y npm
  53. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
  54. DOCKER_COMPOSE_VERSION=$(curl --silent https://api.github.com/repos/docker/compose/releases/latest | grep -Po '"tag_name": "\K.*\d')
  55. DOCKER_COMPOSE_PATH=/usr/local/bin/docker-compose
  56. curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o $DOCKER_COMPOSE_PATH
  57. chmod 755 $DOCKER_COMPOSE_PATH