diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-05-08 13:27:01 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-05-08 13:27:01 +0200 |
commit | 43de39dfa61a3d93a2a3266c9df400a4aeedd307 (patch) | |
tree | 6e8d225877a86423ce3430d8257572bab17aaaac /install.sh | |
parent | 89d89e7dae95703af7d9a3188cb1e73aa99fd13b (diff) | |
download | dotfiles-43de39dfa61a3d93a2a3266c9df400a4aeedd307.tar.gz |
Added compton & friends
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 30 |
1 files changed, 22 insertions, 8 deletions
@@ -1,15 +1,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 -mv ~/.config/i3/ ~/.config/i3.old -mv ~/.vim ~/.vim.old -mv ~/.xinitrc ~/.xinitrc.old -mv ~/.config/polybar ~/.config/polybar.old +for mod in ${MODULES[@]}; do + echo Linking $mod + mv ~/$mod ~/$mod.old + ln -s $(pwd)/$mod ~/$mod +done -ln -s $(pwd)/.vim ~/.vim -ln -s $(pwd)/.i3 ~/.i3 -ln -s $(pwd)/.xinitrc ~/.xinitrc -ln -s $(pwd)/polybar ~/.config/polybar +for mod in ${CFGFOLDER[@]}; do + mv ~/.config/$mod ~/.config/$mod.old + ln -s $(pwd)/$mod ~/.config/$mod +done |