Advertisement
metalx1000

Quick Setup 2022

Oct 17th, 2022 (edited)
913
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.67 KB | None | 0 0
  1. read -p "Server: " server
  2. read -p "Username: " user
  3.  
  4. port=1974
  5.  
  6. sudo apt update
  7. sudo apt install -y git xclip zsh i3 i3lock tmux dmenu curl wget xautomation exa mpv ffmpeg aptitude
  8. sudo scp -P 1974 -r $user@$server:"/usr/local/bin/*" /usr/local/bin/
  9. scp -P 1974 -r $user@$server:".tmux*" ~/
  10. scp -P 1974 -r $user@$server:".config/i3" ~/.config
  11. scp -P 1974 -r $user@$server:".zsh*" ~/
  12.  
  13. mkdir -p ~/.config/xfce4/
  14. scp -P 1974 -r $user@$server:"~/.config/xfce4/terminal" ~/.config/xfce4/
  15.  
  16. echo "HELLO WORLD" > ~/.zsh/welcome.txt
  17.  
  18. sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  19. git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  20. git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
  21.  
  22. #grml-x i3
  23.  
  24. #Vim Setup
  25. wget "https://gitlab.com/metalx1000/My-Vim-Setup/-/archive/master/My-Vim-Setup-master.zip"
  26. unzip My-Vim-Setup-master.zip
  27. cd My-Vim-Setup-master
  28. ./install.sh full
  29.  
  30. sudo apt install -y apt-transport-https curl
  31. sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
  32. echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
  33. sudo apt update
  34. sudo apt install -y brave-browser
  35. brave-browser "https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb?hl=en"
  36.  
  37. echo ". /etc/X11/Xsession" > .xinitrc
  38. echo "exec i3" >> .xinitrc
  39.  
  40. #Debian live user info
  41. #username: user
  42. #password: live
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement