diff --git a/README.md b/README.md index 7dc158c..b6e115f 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Meine persönliche Development-Umgebung optimiert für: - **Fish Shell** - Mit Fisher, Mise, FZF Integration - **Ghostty** - Modernes Terminal mit Tokyo Night Theme - **Starship** - Cross-shell prompt +- **Zen Browser** - Moderner Gecko-basierter minimalistischer Browser ### Development - **LSP Support**: TypeScript (ts_ls), Go (gopls), Lua, HTML, CSS, JSON, YAML @@ -60,7 +61,7 @@ brew tap koekeishiya/formulae # Core & Development tools installieren brew install git neovim fish starship fzf ripgrep fd bat btop fastfetch direnv lazygit mise yabai tmux -brew install --cask ghostty 1password-cli +brew install --cask ghostty 1password-cli zen # Symlinks erstellen ln -sf ~/gits/dotfiles/.config/fish ~/.config/fish diff --git a/install.sh b/install.sh index 6ba97dc..cb6419d 100755 --- a/install.sh +++ b/install.sh @@ -205,6 +205,42 @@ install_1password_cli() { esac } +install_zen_browser() { + log "Installing Zen Browser..." + + case $OS in + "macos") + if [ -d "/Applications/Zen.app" ] || [ -d "$HOME/Applications/Zen.app" ]; then + log "Zen Browser is already installed." + return + fi + install_cask zen + ;; + "arch") + if command -v zen-browser &> /dev/null; then + log "Zen Browser is already installed." + return + fi + if command -v yay &> /dev/null; then + yay -S --noconfirm zen-browser-bin + else + warn "yay not found, cannot install zen-browser-bin on Arch" + fi + ;; + "debian"|"fedora") + if command -v zen-browser &> /dev/null; then + log "Zen Browser is already installed." + return + fi + if command -v flatpak &> /dev/null; then + flatpak install -y flathub io.github.zen_browser.zen || true + else + warn "Zen Browser needs Flatpak or manual installation on $OS (https://zen-browser.app)" + fi + ;; + esac +} + install_core_tools() { log "Installing core development tools..." @@ -291,6 +327,7 @@ install_core_tools() { esac install_1password_cli + install_zen_browser log "Core tools installed!" }