install.sh aktualisiert
This commit is contained in:
parent
49a544d392
commit
23168be20a
25
install.sh
25
install.sh
|
@ -115,6 +115,31 @@ run fc-cache -fv "$FONT_DIR"
|
||||||
|
|
||||||
log "✅ JetBrainsMono Nerd Font installiert."
|
log "✅ JetBrainsMono Nerd Font installiert."
|
||||||
|
|
||||||
|
log "🖥️ Setze Alacritty als Standard-Terminal..."
|
||||||
|
|
||||||
|
if command -v update-alternatives &>/dev/null; then
|
||||||
|
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/alacritty 50
|
||||||
|
sudo update-alternatives --set x-terminal-emulator /usr/bin/alacritty
|
||||||
|
log "✅ Alacritty ist nun das Standard-Terminal (x-terminal-emulator)."
|
||||||
|
else
|
||||||
|
log "⚠️ Konnte update-alternatives nicht finden – bitte Terminal manuell setzen."
|
||||||
|
fi
|
||||||
|
|
||||||
|
log "⚙️ Konfiguriere Alacritty mit JetBrainsMono Nerd Font..."
|
||||||
|
|
||||||
|
ALACRITTY_CONFIG_DIR="$HOME/.config/alacritty"
|
||||||
|
mkdir -p "$ALACRITTY_CONFIG_DIR"
|
||||||
|
|
||||||
|
# Beispielhafte minimale Konfiguration
|
||||||
|
cat > "$ALACRITTY_CONFIG_DIR/alacritty.yml" <<EOF
|
||||||
|
font:
|
||||||
|
normal:
|
||||||
|
family: JetBrainsMono Nerd Font
|
||||||
|
style: Regular
|
||||||
|
size: 11.0
|
||||||
|
EOF
|
||||||
|
|
||||||
|
log "✅ Alacritty konfiguriert mit JetBrainsMono Nerd Font."
|
||||||
|
|
||||||
log "💬 Zsh als Standardshell setzen"
|
log "💬 Zsh als Standardshell setzen"
|
||||||
run sudo usermod -s /bin/zsh klaas
|
run sudo usermod -s /bin/zsh klaas
|
||||||
|
|
Loading…
Reference in New Issue