feat: Initial bootstrap scripting

Currently only creating a symbolic link for x* configs
This commit is contained in:
Ahmad Ansori Palembani 2024-05-20 09:38:35 +07:00
parent af4234464f
commit f0098cbd82
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
4 changed files with 17 additions and 2 deletions

12
bootstrap Executable file
View file

@ -0,0 +1,12 @@
#!/bin/zsh
[ $ZI_DOTFILES ] || { >&2 echo "Please run pre-bootstrap first!"; exit 1; }
[ -d $ZI_DOTFILES ] || { >&2 echo "Invalid dotfiles path, please re-run pre-bootstrap!"; exit 1; }
link_x_configs() {
ln -si $ZI_DOTFILES/.config/xinitrc $HOME/.xinitrc
ln -si $ZI_DOTFILES/.config/xprofile $HOME/.xprofile
}
link_x_configs