From 66bd0846a7a74246543bcb054a6b32778557d91c Mon Sep 17 00:00:00 2001 From: jreichmann Date: Mon, 11 Mar 2019 19:43:51 +0100 Subject: [PATCH] Fix redshift config link, autocreate the necessary folders --- initialSetup.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/initialSetup.sh b/initialSetup.sh index 69a4c61..106cf8e 100755 --- a/initialSetup.sh +++ b/initialSetup.sh @@ -14,12 +14,15 @@ ln -s ./tmux/tmux.conf ~/.tmux.conf mkdir -p ~/.tmux/plugins git clone https://github.com/tmux-plugins/tpm.git ~/.tmux/plugins/tpm +HERE=$(pwd) + # Set up redshift -ln -s ./redshift/redshift.conf ~/.config/redshift/redshift.conf +mkdir -p ~/.config/redshift +mkdir -p ~/.config/autostart +ln -s $HERE/redshift/redshift.conf ~/.config/redshift/redshift.conf # Set up gnupg things mkdir -p ~/.gnupg -HERE=$(pwd) ln -s $HERE/gnupg/gpg.conf ~/.gnupg/gpg.conf ln -s $HERE/gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf ln -s $HERE/gnupg/sshcontrol ~/.gnupg/sshcontrol