setup_system.sh 2.1 KB

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