Skip to content

Instantly share code, notes, and snippets.

@k1nxx
Created October 23, 2021 05:06
Show Gist options
  • Save k1nxx/ea3d8ba78ea1f85cebb2b552c8501600 to your computer and use it in GitHub Desktop.
Save k1nxx/ea3d8ba78ea1f85cebb2b552c8501600 to your computer and use it in GitHub Desktop.
My dot file installer.
## Make dirs
mkdir ~/.xmonad
## Install packages
sudo pacman -S --needed dunst neovim zsh alacritty bluez bluez-utils brightnessctl cups dialog firefox feh xmonad xmonad-contrib xmobar linux-headers pulseaudio pulseaudio-alsa reflector rofi xdg-user-dirs xdg-utils xorg xorg-server
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
## Install Paru
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
## ZSHRC CONFIGS
git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
## Move files
mv .zshrc ~/
mv xmonad.hs ~/.xmonad
mv build ~/.xmonad
mv stack.yaml ~/.xmoand
mv xmobarrc ~/
mv .config ~/.config
## Stack
cd ~/
wget -qO- https://get.haskellstack.org/ | sh
stack setup
cd ~/.xmonad
git clone "https://github.com/xmonad/xmonad" xmonad-git
git clone "https://github.com/xmonad/xmonad-contrib" xmonad-contrib-git
git clone "https://github.com/jaor/xmobar" xmobar-git
stack install
## Configs
chsh -s $(which zsh)
@k1nxx
Copy link
Author

k1nxx commented Oct 23, 2021

chmod a+x build add this before the stack install.

@k1nxx
Copy link
Author

k1nxx commented Oct 23, 2021

also you may need to reboot for the changes to take effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment