Created
October 23, 2021 05:06
-
-
Save k1nxx/ea3d8ba78ea1f85cebb2b552c8501600 to your computer and use it in GitHub Desktop.
My dot file installer.
This file contains 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
## 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) |
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
chmod a+x build
add this before thestack install
.