setup_system.sh 2.3 KB

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