Files
Omeron/modules/optional/packages/visual-studio-code.sh
Pepe44DEV be7bffc1e5 Initial commit: Omeron modular Hyprland setup framework
- Modular installer with gum-based TUI
- Fresh-install detection with auto GPU driver selection
- Preflight module for system detection (Intel/AMD/NVIDIA)
- Core modules: packages, dotfiles, services, SDDM
- Optional software installer (Obsidian, Neovim, VS Code, etc.)
- Homelab config module with dynamic AGS integration
- Two complete themes: Forest Neon and Rose Night
- 19 Hyprland control scripts + 4 AGS widgets
- Idempotent dotfile deployment with automatic backup
- YAML-based configuration, extensible module system
- Full logging to ~/.local/share/omeron/
2026-05-27 20:51:58 +02:00

19 lines
472 B
Bash
Executable File

#!/usr/bin/env bash
module_description() { printf "Install Visual Studio Code\n"; }
module_required() { return 1; }
module_should_skip() { return 1; }
module_prereqs() { return 0; }
module_main() {
log_info "Installing Visual Studio Code..."
if pacman -Si code >/dev/null 2>&1; then
install_pacman code
elif pacman -Si visual-studio-code-bin >/dev/null 2>&1; then
install_pacman visual-studio-code-bin
else
install_aur visual-studio-code-bin
fi
}