-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·144 lines (116 loc) · 2.68 KB
/
install.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#!/bin/bash
function rmlink {
ln -sfn $1 $2
}
function log {
printf "\n\n\n"
echo \[$1\]
}
CONFIGS_FOLDER="${PWD}"
ZSH_PLUGINS="${HOME}/.config/zsh_plugins"
sudo pacman -Sy --needed --noconfirm --quiet --noprogressbar yay base-devel
yay -Sy --needed --noconfirm --quiet --noprogressbar \
neovim \
xclip \
jq \
unzip \
konsole \
ttf-twemoji \
zsh \
zsh-completions \
zsh-theme-powerlevel10k-git \
ranger \
bat \
glow \
tldr \
fzf \
fzf-extras \
ripgrep \
ctags \
screen \
docker \
meld \
gimp \
inkscape \
gwenview \
foliate \
spectacle \
postman-bin \
spotify \
zoom \
chromium \
git-standup-git \
dbeaver \
nvm \
visual-studio-code-bin \
ttf-firacode \
python-pipx \
nemo \
klipper \
blueman \
i3-gaps \
i3status \
picom \
arandr \
xss-lock \
i3lock \
brightnessctl \
nm-applet \
feh \
pasystray \
pavucontrol \
playerctl \
dunst
log "VIM"
mkdir -p ~/.config/nvim
rmlink $PWD/vim/init.vim ~/.config/nvim/init.vim
rmlink $PWD/vim/plugins.vim ~/.config/nvim/plugins.vim
rmlink $PWD/vim/colors ~/.config/nvim/colors
rmlink $PWD/vim/autoload ~/.config/nvim/autoload
rmlink $PWD/vim/plugin ~/.config/nvim/plugin
rmlink $PWD/vim/snippets ~/.config/nvim/snippets
nvim +PlugInstall +qall
log "VIM LINTERS AND FORMATTERS"
pipx install black pylint
npm install --global eslint
npm install --global prettier
yay -Sy --needed --noconfirm --quiet --noprogressbar clj-kondo-bin joker-bin
log "VS CODE"
mkdir -p ~/.config/Code
rmlink $PWD/Code/User ~/.config/Code/
log "PICOM"
rmlink $PWD/picom/picom.conf ~/.config/picom.conf
log "GNOME POMODORO"
wget https://aur.archlinux.org/cgit/aur.git/snapshot/gnome-shell-pomodoro.tar.gz
tar -xvf gnome-shell-pomodoro.tar.gz && cd gnome-shell-pomodoro
makepkg -s
makepkg -i
log "I3 GNOME POMODORO"
pipx install i3-gnome-pomodoro
log "I3"
mkdir -p ~/.config/i3
rmlink $PWD/i3/config ~/.config/i3/config
rmlink $PWD/i3/exit.sh ~/.config/i3/exit.sh
log "BAT"
mkdir -p ~/.config/bat
rmlink $PWD/bat/config ~/.config/bat/config
log "GLOW"
mkdir -p ~/.config/glow
rmlink $PWD/glow/glow.yml ~/.config/glow/glow.yml
log "DUNST"
mkdir -p ~/.config/dunst
rmlink $PWD/dunst/dunstrc ~/.config/dunst/dunstrc
log "ZSH"
if [ ! -d ~/.oh-my-zsh ]; then
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
fi
rmlink $PWD/zsh/zshrc ~/.zshrc
sudo chsh -s $(which zsh)
if [ ! -d $ZSH_PLUGINS/zsh-syntax-highlighting ]; then
mkdir -p $ZSH_PLUGINS/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_PLUGINS/zsh-syntax-highlighting/
fi
log "DOCKER"
sudo groupadd docker
sudo gpasswd -a $USER docker
newgrp docker