dotfiles

Cem's Dotfiles
git clone git://git.ckyln.com/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit b736c0187a2595b6768d31ffff57022e248a4911
parent 0ca40c517fd6f1ef1888f5f179531aa93fafac04
Author: Cem Keylan <warc1998@gmail.com>
Date:   Thu, 30 May 2019 13:09:44 +0300

Added updot

Diffstat:
Abin/updot | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/bin/updot b/bin/updot @@ -0,0 +1,16 @@ +#!/bin/sh + +git clone https://gitlab.cemkeylan.com/cemkeylan/dotfiles.git +cd dotfiles +if [ $RCUP = "YES" ] +then + cp -u -v $PWD/.bashrc $HOME/.bashrc +fi +cp -u -v $PWD/.vimrc $HOME/.vimrc +cp -u -v -r $PWD/bin $HOME/bin +declare -i OVERRIDE +OVERRIDE=$(grep -nr "Feel free to" $HOME/.config/i3/config | cut -d : -f 1)+1 +tail -n +$OVERRIDE $HOME/.config/i3/config >> $PWD/.config/i3/config +cp -u -v $PWD/.config/i3/config $HOME/.config/i3/config +cp -u -v $PWD/.config/terminator/config $HOME/.config/terminator/config +cp -u -v $PWD/.config/polybar/config $HOME/.config/polybar/config