blob: 45bc38b0cabaff77ede91c55488983b641116f73 (
plain)
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
|
#!/bin/bash
# Programs:
# compton: Compositor
# xterm fo default terminal
#Configs for home dir
MODULES=(.i3 .vim .xinitrc .compton.conf .bashrc .Xresources)
#Configs for .config
CFGFOLDER=(polybar powerline nvim)
echo Configs to install: ${MODULES[@]} ${CFGFOLDER[@]}
git submodule init
git submodule update
for mod in ${MODULES[@]}; do
echo Linking $mod
mv ~/$mod ~/$mod.old
ln -s $(pwd)/$mod ~/$mod
done
for mod in ${CFGFOLDER[@]}; do
mv ~/.config/$mod ~/.config/$mod.old
ln -s $(pwd)/$mod ~/.config/$mod
done
|