diff --git a/config/compton/compton_config b/config/compton/compton.conf similarity index 100% rename from config/compton/compton_config rename to config/compton/compton.conf diff --git a/config/kitty/theme.conf b/config/kitty/theme.conf new file mode 120000 index 0000000..83dfc47 --- /dev/null +++ b/config/kitty/theme.conf @@ -0,0 +1 @@ +/home/w0ryn/.wryn/config/colorschemes/kitty/WrynWinter.conf \ No newline at end of file diff --git a/setup b/setup index 98cb53a..42dc837 100755 --- a/setup +++ b/setup @@ -33,6 +33,22 @@ LOCAL_VIM_ENV="$HOME/.config/wryn/env.vim" || echo 'let $WEBBROWSER=""' >> $LOCAL_VIM_ENV; } || { - echo 'vim environment variables already set up' + echo 'vim environment variables already set up'; } + +# setup config symlinks +xfce4-panel --version >/dev/null 2>&1 \ + && [ ! -f "$HOME/.xinitrc" ] \ + && ln -s "$HOME/.wryn/config/xserver/xinitrc" "$HOME/.xinitrc"; + +function SYMLINK_CONFIG() { + # $1 = config directory name + # $2 = filename + [ ! -d "$HOME/.config/$1" ] && mkdir "$HOME/.config/$1"; + [ -f "$HOME/.config/$1/$2" ] && mv "$HOME/.config/$1/$2" "$HOME/.config/$1/$2.bak"; + ln -s "$HOME/.wryn/config/$1/$2" "$HOME/.config/$1/$2"; +} + +SYMLINK_CONFIG "compton" "compton.conf"; +SYMLINK_CONFIG "i3" "config";