Added symlink setup
This commit is contained in:
parent
c4ed1fb8d8
commit
0ccfe3c9e2
1
config/kitty/theme.conf
Symbolic link
1
config/kitty/theme.conf
Symbolic link
@ -0,0 +1 @@
|
||||
/home/w0ryn/.wryn/config/colorschemes/kitty/WrynWinter.conf
|
18
setup
18
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";
|
||||
|
Loading…
Reference in New Issue
Block a user