Skip to content

Instantly share code, notes, and snippets.

@0xLGG
Last active October 3, 2021 11:01
Show Gist options
  • Save 0xLGG/fbe59bafcf1d8a9da9b88a23a760df47 to your computer and use it in GitHub Desktop.
Save 0xLGG/fbe59bafcf1d8a9da9b88a23a760df47 to your computer and use it in GitHub Desktop.
initial try of artix installer
#!/bin/sh
sudo pacman -Syu xorg-xrandr vim zsh go tmux neovim git fakeroot base-devel fzf rofi noto-fonts yarn docker openvpn
cd
git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen"
git clone https://github.com/0xlgg/dotfiles.git
git clone https://github.com/gpakosz/.tmux.git
ln -sf dotfiles/shell/tmux/.tmux.conf.local
ln -sf dotfiles/shell/tmux/.tmux.conf
ln -sf dotfiles/shell/.p10k.zsh
ln -sf dotfiles/shell/zsh/artix/.zshrc
ln -sf dotfiles/themes/rofi/nord.rasi
chsh -s $(which zsh)
mkdir ~/src
echo 'intall bpytop'
~/.local/bin/pip3 install bpytop
git config --global user.email "72031534+0xLGG@users.noreply.github.com"
git config --global user.name "0xLGG"
echo 'init gh'
cd ~/src
git clone https://aur.archlinux.org/github-cli-git.git
cd github-cli-git/
makepkg -si
gh auth login
echo 'install st'
cd ~/src
git clone https://github.com/siduck76/st.git
cd st/
sudo make install
lspci -vnn
cd ~/src
git clone https://aur.archlinux.org/logo-ls.git
cd logo-ls/
makepkg -si
cd ~/src
git clone https://aur.archlinux.org/tldr++.git
cd tldr++/
makepkg -si
echo 'install nvm'
cd ~/src
git clone https://aur.archlinux.org/nvm.git
cd nvm/
makepkg -si
nvm ls-remote
nvm install node
echo 'install lunarvim'
cd ~/src
bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh)
echo 'adding custom adjustment for onedarker'
cd ./.local/share/lunarvim/lvim/colors/
ln -sf ~/dotfiles/lunarvim/onedarker.vim
echo 'theme for awesome'
cd ~/src
git clone --recurse-submodules --remote-submodules --depth 1 -j 2 https://github.com/lcpz/awesome-copycats.git
mkdir ~/.config/awesome -p
mv -bv awesome-copycats/{*,.[^.]*} ~/.config/awesome; rm -rf awesome-copycats
cd ~/.config/awesome/
ln -sf ~/dotfiles/artix/awesome/rc.lua
cd themes/
mv powerarrow-dark/ powerarrow-dark-bak
ln -sfr ~/dotfiles/artix/awesome/themes/powerarrow-dark/
echo 'install font-manager and JetBrainsMono'
cd ~/src
git clone https://aur.archlinux.org/font-manager.git
cd font-manager/
makepkg -si
sudo pacman -Syu wget
mkdir ~/.fonts && cd ~/.fonts
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/JetBrainsMono.zip
bsdtar -x -f JetBrainsMono.zip
fc-cache -f -v
rm JetBrainsMono.zip
echo 'install brave'
cd ~/src
git clone https://aur.archlinux.org/brave-bin.git
cd brave-bin/
makepkg -si
echo 'picom handler'
sudo pacman -Syu picom
mkdir ~/.config/picom
cd ~/.config/picom
ln -sf ~/dotfiles/artix/picom/picom.conf
echo 'move DISP to /usr/bin for awesome autorun'
cp ~/dotfiles/scripts/DISP ~/DISP
sudo chmod +x ~/DISP
sudo mv ~/DISP /usr/bin/DISP
echo 'awesome and dependencies install'
cd ~/src
git clone https://aur.archlinux.org/lua-penlight-git.git
cd lua-penlight-git
makepkg -si
cd ~/src
git clone https://aur.archlinux.org/ldoc-git.git
cd ldoc-git
makepkg -si
cd ~/src
git clone https://aur.archlinux.org/dex-git.git
cd dex-git
makepkg -si
cd ~/src
git clone https://aur.archlinux.org/awesome-git.git
cd awesome-git
makepkg -si
echo 'install rlwrap'
cd ~/src
wget https://github.com/hanslub42/rlwrap/releases/download/v0.45.2/rlwrap-0.45.2.tar.gz
mv rlwrap* rlwrap.tar.gz
tar -xvzf rlwrap.tar.gz
cd rlwrap-0.45.2/
./configure
make
sudo make install
echo 'install autojump'
cd ~/src
git clone https://aur.archlinux.org/autojump.git
cd autojump/
makepkg -si
echo 'ultimate browser extension'
mkdir ~/repo && cd ~/repo
git clone https://github.com/0xLGG/swisscows-banner-remover
echo 'you might want adjust xresources file to your device'
cd
ln -sf dotfiles/x/sbookone/xresources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment