blob: 13ec959e05c90c7f209cb316e85f85a84952e019 (
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)
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
|