feat(browser): integrate Zen Browser into install script and documentation
This commit is contained in:
@@ -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
|
||||
|
||||
+37
@@ -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!"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user