blob: 14be4587fd76ad6e200bee2457a7b1815983acde (
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)
#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
|