-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·74 lines (38 loc) · 1.42 KB
/
install.sh
File metadata and controls
executable file
·74 lines (38 loc) · 1.42 KB
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
#!/bin/sh
CONFIGDIR=~/.config
[ ! -d "$CONFIGDIR" ] && mkdir $CONFIGDIR
# ============= POLYBAR
ln -sf $HOME/dev/dotfiles/polybar $HOME/.config
# ============= ZSH
ln -sf $HOME/dev/dotfiles/zsh $HOME/.config
ln -sf $HOME/dev/dotfiles/zsh/.zprofile $HOME/.profile
ln -sf $HOME/dev/dotfiles/zsh/.zprofile $HOME/.bash_profile
ln -sf $HOME/dev/dotfiles/zsh/.zprofile $HOME/.zprofile
# ============= xinitrc
ln -sf $HOME/dev/dotfiles/.xinitrc $HOME/.xinitrc
# ============= fix cedilha with XCompose
ln -sf $HOME/dev/dotfiles/.XCompose $HOME/.XCompose
# ============= aliasrc
ln -sf $HOME/dev/dotfiles/aliasrc $HOME/.config/aliasrc
# ============= bspwm
ln -sf $HOME/dev/dotfiles/bspwm $HOME/.config
ln -sf $HOME/dev/dotfiles/sxhkd $HOME/.config
# ============= scripts
rm -rf $HOME/.scripts
ln -s $HOME/dev/dotfiles/scripts $HOME/.scripts
# ============= wallpaper folder
mkdir -p $HOME/Images/wallpapers
# ============= POLYBAR
ln -sf $HOME/dev/dotfiles/alacritty $HOME/.config
# ============= NEOVIM
rm -rf ~/.config/nvim
ln -s $HOME/dev/dotfiles/nvim/ ~/.config/nvim
# packer
PACKERDIR=~/.local/share/nvim/site/pack/packer/start/packer.nvim
if [ ! -d "$PACKERDIR" ]; then
git clone --depth 1 https://github.com/wbthomason/packer.nvim $PACKERDIR
fi
# packer install plugins
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
# ============ done
echo "andreiox dotfiles installation is done."