setup_system.sh 2.0 KB

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