#!/usr/bin/zsh greeter() { cat < ~/.log/yay.log pip3 install --user -U pynvim msgpack # build and install st cd ~/.cache/dotfiles/ git clone https://gitlab.com/samedamci/st cd st sudo make clean install # copy configs cd ~/Dotfiles/botfiles/.config cp -r * ~/.config/ if [ "$HOST" = "pc" ]; then echo "Use pc config" mv ~/.config/polybar/config.pc ~/.config/polybar/config elif [ "$HOST" = "laptop" ]; then echo "Use laptop config..." mv ~/.config/polybar/config.laptop ~/.config/polybar/config fi cd ~/Dotfiles/botfiles mkdir -p ~/.local/share/TelegramDesktop/tdata/ cp shortcuts-custom.json ~/.local/share/TelegramDesktop/tdata cp .zshrc .aliases .zprofile .Xresources .xinitrc ~/ cp -r .scripts ~/ chmod +x ~/.scripts/* chsh -s /usr/bin/zsh cd ~/.config/zsh rm -rf plugins mkdir plugins cd plugins git clone https://github.com/zsh-users/zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-autosuggestions # udisk config sudo mkdir /media su root -c "echo 'ENV{ID_FS_USAGE}==\"filesystem|other|crypto\", ENV{UDISKS_FILESYSTEM_SHARED}=\"1\"' > /etc/udev/rules.d/99-udisks2.rules && echo 'D /media 0755 root root 0 -' > /etc/tmpfiles.d/media.conf" # manual configuration clear echo "Please edit /etc/pacman.conf and uncomment 'Colors' and write 'ILoveCandy'."