-
Notifications
You must be signed in to change notification settings - Fork 2
/
plasma
executable file
·42 lines (42 loc) · 1.67 KB
/
plasma
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
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
dependencies(){
paru -S unzip
paru -S npm
paru -S ruby
paru -S ruby-colorls
paru -S rmtrash
paru -S chroma-bin
paru -S ccat
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
paru -S fzf
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
}
shopt -s nocasematch
echo -ne "Do you want to install a minimal version of KDE Plasma? (y/n) "
read minimal
if [[ "$minimal" == "y" ]]; then
paru -S plasma-desktop
else
paru -S plasma
fi
echo -ne "Do you want to install KDE applications? (y/n) "
read applications
if [[ "$applications" == "y" ]]; then
paru -S kde-applications
fi
cp ~/archscripts/kxkbrc ~/.config/kxkbrc
paru -S zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
curl -fsSL https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/JetBrainsMono/Ligatures/Regular/JetBrainsMonoNerdFont-Regular.ttf | sudo tee /usr/share/fonts/TTF/JetBrainsMonoNerdFont-Regular.ttf > /dev/null
cp ~/archscripts/.zshrc ~/.zshrc
cp ~/archscripts/.p10k.zsh ~/.p10k.zsh
cp ~/archscripts/Default.profile ~/.local/share/konsole/Default.profile
cp ~/archscripts/148925-bl1nk.colorscheme ~/.local/share/konsole/148925-bl1nk.colorscheme
rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
dependencies
echo -e "Installation complete, press ENTER to reboot "
read
sudo shutdown now -r