install.sh 425 B

123456789101112131415161718192021
  1. #bin/bash
  2. if [[ $EUID -ne 0 ]]; then
  3. echo "This script must be run as root"
  4. exit 1
  5. fi
  6. export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  7. cp doas.conf /etc/
  8. cp main.con /etc/iwd
  9. cp ../configs/profile /etc/
  10. apt update
  11. apt install foot lynx nnn htop tofi doas iwd git sway imv ffmpeg mpv
  12. cp ../configs/imv_config /etc/
  13. print "replace username with the name of your user"
  14. nano /etc/doas.conf