diff --git a/scripts/bordergen.sh b/scripts/bordergen.sh index 1c64f8b..468ce50 100755 --- a/scripts/bordergen.sh +++ b/scripts/bordergen.sh @@ -7,12 +7,12 @@ csub=$(sed '2!d' ~/.cache/wal/colors) mkdir -p ~/.config/tint2 cp ~/.linux/dots/tint2rctemplate ~/.config/tint2/plac sed -i "s/TEMPLATE/${csub}/g" ~/.config/tint2/plac -rm ~/.config/tint2/tint2rc +rm -f ~/.config/tint2/tint2rc mv ~/.config/tint2/plac ~/.config/tint2/tint2rc killall -SIGUSR1 tint2 # Create new .conkyrc cp ~/.linux/dots/conkytemplate ~/conkyplac sed -i "s/COLOURTEMPLATE/${csub}/g" ~/conkyplac -rm ~/.conkyrc +rm -f ~/.conkyrc mv ~/conkyplac ~/.conkyrc diff --git a/scripts/dotset.sh b/scripts/dotset.sh index 19223ed..b2c7dcc 100755 --- a/scripts/dotset.sh +++ b/scripts/dotset.sh @@ -6,9 +6,9 @@ mv ~/mdddots ~/.linux # Get rid of existing files -rm ~/.zshrc ~/.gitconfig ~/.XCompose -rm ~/.config/cmus/rc -rm ~/.oh-my-zsh/custom/aliases +rm -f ~/.zshrc ~/.gitconfig ~/.XCompose +rm -f ~/.config/cmus/rc +rm -f ~/.oh-my-zsh/custom/aliases # Symlink files from git repo ln -s ~/.linux/dots/.zshrc ~