setup_system.sh 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. #make home folders I'll need
  8. mkdir -p ~/screenshots
  9. mkdir -p ~/pictures
  10. mkdir -p ~/shared
  11. mkdir -p ~/downloads
  12. mkdir -p ~/.config
  13. #window manager
  14. sudo apt install -y sway
  15. sudo apt install -y swaybg
  16. ln -sn ~/dotfiles/devuan_setup/config/sway ~/.config/sway
  17. rm -rf ~/.profile
  18. rm -rf ~/.bashrc
  19. ln -sn ~/dotfiles/devuan_setup/.profile ~/.profile
  20. ln -sn ~/dotfiles/devuan_setup/config/user-dirs.dirs ~/.config/
  21. ln -sn ~/dotfiles/devuan_setup/.bashrc ~/.bashrc
  22. ln -sn ~/dotfiles/devuan_setup/scripts ~/scripts
  23. #install terminal emulator
  24. sudo apt install -y foot
  25. ln -sn ~/dotfiles/devuan_setup/config/foot ~/.config/foot
  26. #dialog boxes
  27. sudo apt install -y zenity
  28. #let there be sound (over bluetooth too)!
  29. sudo apt install -y pipewire
  30. sudo apt install -y pipewire-pulse
  31. sudo apt install -y xdg-desktop-portal-wlr
  32. sudo apt install -y pulsemixer
  33. sudo apt install -y bluez
  34. sudo apt install -y bluez-firmware
  35. sudo apt install -y bluez-tools
  36. #screen brightness control
  37. sudo apt install -y brightnessctl
  38. #battery measurement
  39. sudo apt install -y acpi
  40. sudo apt install -y acpid
  41. #displays "progress" bars - used for brightness and volume
  42. #sway config contains the named pipes necessary for it to work with my shortcuts
  43. sudo apt install -y wob
  44. ln -sn ~/dotfiles/devuan_setup/config/wob ~/.config/wob
  45. #launcher
  46. sudo apt install -y wofi
  47. ln -sn ~/dotfiles/devuan_setup/config/wofi ~/.config/wofi
  48. #wofi will search for desktop files in here
  49. mkdir -p ~/.local/share/applications
  50. #automount external drives
  51. sudo apt install -y udiskie
  52. #love2d stuff
  53. sudo apt install -y love
  54. sudo apt install -y apktool
  55. #actual programs
  56. sudo apt install -y zsh
  57. sudo apt install -y firefox-esr
  58. sudo apt install -y inkscape
  59. sudo apt install -y keepassxc
  60. sudo apt install -y thunar
  61. sudo apt remove -y thunar-volman
  62. #screenshots
  63. sudo apt install -y grimshot
  64. #work stuff
  65. sudo apt install -y git-flow
  66. sudo apt install -y docker.io
  67. sudo apt install -y docker-compose
  68. sudo apt install -y npm
  69. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
  70. DOCKER_COMPOSE_VERSION=$(curl --silent https://api.github.com/repos/docker/compose/releases/latest | grep -Po '"tag_name": "\K.*\d')
  71. DOCKER_COMPOSE_PATH=/usr/local/bin/docker-compose
  72. curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o $DOCKER_COMPOSE_PATH
  73. chmod 755 $DOCKER_COMPOSE_PATH
  74. #flatpak install flathub org.freedesktop.Platform/x86_64/19.08
  75. #wifi and bluetooth
  76. sudo apt install -y connman-gtk