blob: 1e7001d0407b3bd1dd770b65e78e29ef10d35fb6 (
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
29
|
#!/bin/bash
# Programs:
# compton: Compositor
# xterm fo default terminal
# transset-df for xterm transparency
#Configs for home dir
MODULES=(.i3 .vim .xinitrc .compton.conf .bashrc .Xresources)
#Configs for .config
CFGFOLDER=(polybar powerline)
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
|