Add Powerline fonts installation using external repo and run_onchange script

This commit is contained in:
Simon Rieger 2024-10-01 12:52:08 +02:00
parent cf19e455a1
commit 2b9b4d4a20
2 changed files with 13 additions and 0 deletions

View file

@ -18,3 +18,7 @@
type = "git-repo" type = "git-repo"
url = "https://github.com/AstroNvim/template.git" url = "https://github.com/AstroNvim/template.git"
refreshPeriod = "168h" refreshPeriod = "168h"
[".powerline-fonts"]
type = "git-repo"
url = "https://github.com/powerline/fonts.git"
refreshPeriod = "168h"

View file

@ -0,0 +1,9 @@
#!/bin/bash
# Führe das install.sh Skript aus dem geklonten Repository aus
if [ -d "$HOME/.powerline-fonts" ]; then
cd "$HOME/.powerline-fonts"
./install.sh
else
echo "Powerline Fonts Repository wurde nicht gefunden."
fi