71 lines
2.1 KiB
Bash
Executable File
71 lines
2.1 KiB
Bash
Executable File
#!/usr/bin/zsh
|
|
|
|
greeter() {
|
|
cat <<EOF
|
|
_ _
|
|
__| | ___ | |_ _ __ ___ __ _ _ __
|
|
/ _\` |/ _ \\| __| '_ \` _ \ / _\` | '_ \
|
|
| (_| | (_) | |_| | | | | | (_| | | | |
|
|
\__,_|\___/ \__|_| |_| |_|\__,_|_| |_|
|
|
EOF
|
|
}
|
|
|
|
greeter
|
|
|
|
# install git
|
|
sudo pacman -S git
|
|
|
|
# install yay
|
|
git clone https://aur.archlinux.org/yay.git
|
|
cd yay
|
|
makepkg -si
|
|
|
|
# install all dependencies and packages
|
|
yay -S neovim qutebrowser telegram-desktop minecraft-launcher dunst bspwm sxhkd htop mpd ncmpcpp picom ranger rofi transmission vlc zsh youtube-dl grc curl wget dmenu xclip figlet w3m xorg-server xorg-xinit ttf-font-awesome ttf-dejavu vifm feh xorg-xsetroot lxappearance python-pip alsa-utils tmux networkmanager maim fzf exfat-utils fuse2 udiskie udisks2 imagemagick i3lock-color man checkupdates+aur pacman-contrib polybar ccls clang eslint python-pylsl flake8 shell shellcheck clang-format-linter-git prettier python-black
|
|
|
|
pip3 install --user -U pynvim msgpack
|
|
|
|
# build and install st
|
|
cd ..
|
|
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..
|
|
mkdir -p ~/.local/share/TelegramDesktop/tdata/
|
|
cp .local/share/TelegramDesktop/tdata/shortcuts-custom.json ~/.local/share/TelegramDesktop/tdata
|
|
|
|
cp .zshrc .aliases .zprofie .Xresourxes .xinitrc ~/
|
|
cp -r .scripts ~/
|
|
chmod +x ~/.scripts/*
|
|
|
|
chsh -s /usr/bin/zsh
|
|
|
|
mkdir -p ~/.config/zsh/plugins
|
|
touch ~/.config/zsh/history
|
|
cd ~/.config/zsh
|
|
|
|
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'."
|