setup_system.sh 2.2 KB

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