diff options
author | dx <aryadevchavali1@gmail.com> | 2020-04-24 02:44:44 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-04-24 02:48:01 +0100 |
commit | 0f80642f3eb62184a6fa63f7bfe34cfb60efb21a (patch) | |
tree | 05fff032942781266a8423363daf5df0200a0fea /install.sh | |
parent | 094087893a66b250da1c97608c31c6b521c90153 (diff) | |
download | dotfiles-0f80642f3eb62184a6fa63f7bfe34cfb60efb21a.tar.gz dotfiles-0f80642f3eb62184a6fa63f7bfe34cfb60efb21a.tar.bz2 dotfiles-0f80642f3eb62184a6fa63f7bfe34cfb60efb21a.zip |
~install.sh to use gnu stow now as well as a few more changes
No files dependency
Diffstat (limited to 'install.sh')
-rw-r--r-- | install.sh | 24 |
1 files changed, 5 insertions, 19 deletions
@@ -1,18 +1,13 @@ #!/bin/bash -dir=~/Dotfiles; -files=`cat $dir/files`; +folders=`find . -maxdepth 1 -type 'd' -not -name '.git' -not -name '.'`; # Symlink profiles -for file in $files; do - echo "Creating symlink for " + $file; - ln -s $dir/$file ~/.$file; +for pkg in $folders; do + echo "Stowing " $pkg; + stow $pkg done -## Symlink to .config -ln -s $dir/rofi.conf ~/.config/rofi/config -ln -s $dir/kitty.conf ~/.config/kitty/config - # Generate folders mkdir ~/Text; mkdir ~/Code; @@ -21,18 +16,9 @@ mkdir ~/Code/Projects; mkdir ~/Code/Templates; mkdir ~/School; -touch ~/Text/notes.org; -touch ~/Text/todo.org; -touch ~/Text/calendar.org; - # get templates declare -a templates=("CTemplate" "CPPTemplate" "PythonTemplate" "NodeTemplate" "ArduinoTemplate"); for template in ${templates[@]}; do - git clone https://github.com/Oreodave/$template ~/Code/Templates/$template; + git clone https://github.com/odavep/$template ~/Code/Templates/$template; done - -# get doom emacs -git clone https://github.com/hlissner/doom-emacs ~/.emacs.d -~/.emacs.d/bin/doom install; -~/.emacs.d/bin/doom sync; |