-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·32 lines (23 loc) · 1.18 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
# Install required packages
sudo pacman -Sy
sudo pacman -S curl zsh neofetch vim neovim nodejs npm papirus-icon-theme
yay -Sy
# Change shell for zsh
chsh -s /bin/zsh
# Install oh-my-zsh and plugins
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k
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
# Install vim-plug for neovim
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
# Copy SDDM config files
cp .config/sddm/default.conf /etc/sddm.conf.d/
git clone https://github.com/lwndhrst/sddm-rose-pine.git
cp -r sddm-rose-pine /usr/share/sddm/themes/
cp .config/sddm/theme.conf.user /usr/share/sddm/themes/sddm-rose-pine/
cp .config/sddm/blockwavemoon.png /usr/share/sddm/themes/sddm-rose-pine/