install.sh 865 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/bin/sh
  2. echo -n "Install additional software? [y/n] "
  3. read install
  4. echo -n "Move dotfiles to which user? "
  5. read user
  6. if [[ $install == y ]]; then
  7. pkg_add firefox vlc git vim
  8. fi
  9. echo "[*] Installing necessary software..."
  10. pkg_add feh conky i3 i3status nitrogen pcmanfm dmenu i3lock scrot rofi ImageMagick slim slim-themes zsh curl wget screen iftop htop
  11. echo "[*] Copying dotfiles..."
  12. cp .conkyrc /home/$user/.conkyrc
  13. cp .vimrc /home/$user/.vimrc
  14. cp .Xdefaults /home/$user/.Xdefaults
  15. cp -r .config /home/$user/
  16. cp .i3status.conf /home/$user/
  17. cp .xinitrc /home/$user/
  18. cp background.jpg /home/$user/.background.jpg
  19. cp doas.conf /etc/
  20. cp slim.conf /etc/
  21. chown -R $user /home/$user
  22. cp -R ./openbsd-dark /usr/local/share/slim/themes/
  23. echo "[*] Activate some services..."
  24. rcctl enable avahi_daemon
  25. rcctl enable slim
  26. rcctl disable xenodm
  27. echo "[*] Done."