Last active
February 7, 2020 22:35
-
-
Save Xananax/c81a6a14d8bef6aaf8f0c35b97277ef1 to your computer and use it in GitHub Desktop.
After Arch/Antergos install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install essential stuff, vim and git | |
| sudo pacman -S vim git --needed | |
| # Get pacserve to speed up the rest of the downloads | |
| mkdir -p ~/resources/aur | |
| cd ~/resources/aur | |
| git clone https://aur.archlinux.org/python3-threaded_servers.git | |
| git clone https://aur.archlinux.org/pacserve.git | |
| cd python3-threaded_servers | |
| makepkg -sic | |
| # in case there's a gpg error: gpg --recv-key <KEY NOT PASSING> | |
| cd .. | |
| cd pacserve | |
| makepkg -sic | |
| cd .. | |
| sudo systemctl enable pacserve | |
| sudo systemctl start pacserve | |
| # Get the basic tools from official repos | |
| sudo pacsrv -S --needed i3-wm i3blocks i3lock i3status inkscape gimp tmux zsh chromium firefox wget mosh dosfstools baobab nfs-utils exfat-utils linux-lts linux-lts-headers neovim weechat python-neovim python2-neovim python-pip python2-pip php mariadb nodejs nginx rsync rofi whois xclip ttf-bitstream-vera ttf-dejavu ttf-freefont ttf-liberation unrar qutebrowser | |
| # Set up zsh to get rid of horrible bash | |
| chsh -s /bin/zsh | |
| zsh | |
| cd ~ | |
| git clone --recursive https://github.com/Eriner/zim.git ${ZDOTDIR:-${HOME}}/.zim | |
| setopt EXTENDED_GLOB | |
| for template_file ( ${ZDOTDIR:-${HOME}}/.zim/templates/* ); do | |
| user_file="${ZDOTDIR:-${HOME}}/.${template_file:t}" | |
| touch ${user_file} | |
| ( print -rn "$(<${template_file})$(<${user_file})" >! ${user_file} ) 2>/dev/null | |
| done | |
| # Get a few choice software from the user repos | |
| cd ~/resources/aur | |
| git clone https://aur.archlinux.org/rambox-bin.git | |
| git clone https://aur.archlinux.org/nvm-git.git | |
| git clone https://aur.archlinux.org/nylas-mail-git.git | |
| git clone https://aur.archlinux.org/visual-studio-code-git.git | |
| git clone https://aur.archlinux.org/ttf-google-fonts-git.git | |
| git clone https://aur.archlinux.org/otf-hasklig.git | |
| cd rambox-bin | |
| makepkg -sic | |
| cd .. | |
| cd nvm-git | |
| makepkg -sic | |
| cd .. | |
| cd nylas-mail-git | |
| makepkg -sic | |
| cd .. | |
| cd visual-studio-code-git | |
| makepkg -sic | |
| cd .. | |
| cd ttf-google-fonts-git | |
| makepkg -sic | |
| cd .. | |
| cd otf-hasklig | |
| makepkg -sic | |
| cd .. | |
| cd ~ | |
| # Generate ssh keys | |
| ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
| eval "$(ssh-agent -s)" | |
| ssh-add ~/.ssh/id_rsa | |
| xclip -sel clip < ~/.ssh/id_rsa.pub | |
| # paste the contents of the clipboard in github | |
| # Get my config back | |
| cd ~/resources | |
| git clone [email protected]:Xananax/dotfiles.git | |
| # If using Antergos, get rid of stupid lightdm | |
| sudo pacman -S gdm | |
| sudo systemctl disable lightdm | |
| sudo systemctl enable gdm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment