- fixed nvim installation
- added flatpak automatic update timer
This commit is contained in:
parent
8704674bf1
commit
faf069980d
1 changed files with 11 additions and 1 deletions
12
init.sh
12
init.sh
|
@ -80,7 +80,8 @@ spacevim () {
|
||||||
[ -f $HOME/.vimrc ] && mv "$HOME/.vimrc" "$HOME/vimrc_bk"
|
[ -f $HOME/.vimrc ] && mv "$HOME/.vimrc" "$HOME/vimrc_bk"
|
||||||
curl -sLf https://spacevim.org/install.sh | bash
|
curl -sLf https://spacevim.org/install.sh | bash
|
||||||
echo "Install nvchad"
|
echo "Install nvchad"
|
||||||
git clone https://github.com/NvChad/NvChad ~/.config/nvim
|
mv ~/.nvim ~/.nvim_bak #removes spacevim's symlink
|
||||||
|
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
|
||||||
}
|
}
|
||||||
#install fonts for terminal
|
#install fonts for terminal
|
||||||
fonts () {
|
fonts () {
|
||||||
|
@ -89,9 +90,18 @@ fonts () {
|
||||||
wget -q https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/SourceCodePro.tar.xz -O - | tar -xJf - -C ~/.fonts
|
wget -q https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/SourceCodePro.tar.xz -O - | tar -xJf - -C ~/.fonts
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flat_timer () {
|
||||||
|
#this copies and activates a systemd service to enable automatic flatpak updates
|
||||||
|
mkdir -pv $HOME/.config/systemd/user/
|
||||||
|
ln ./scripts/systemd/ $HOME/.config/systemd/user/
|
||||||
|
systemctl daemon-reload #not sure if this is necessary or not
|
||||||
|
systemctl --user enable --now flatpak-update.timer
|
||||||
|
}
|
||||||
|
|
||||||
git_user
|
git_user
|
||||||
spacevim
|
spacevim
|
||||||
fonts
|
fonts
|
||||||
|
flat_timer
|
||||||
|
|
||||||
echo "*******************************"
|
echo "*******************************"
|
||||||
echo "* Restart your terminal *"
|
echo "* Restart your terminal *"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue