##!/bin/bash set -euo pipefail # Map the exported variables to your local names with fallbacks to satisfy set -u OS="${DETECTED_OS:-fedora}" DE="${SELECTED_DE:-none}" TWM="${SELECTED_TWM:-none}" INSTALL_LEVEL="${INSTALL_LEVEL:-full}" SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" echo color_cyan "Starting Workstation setup..." echo # Run full first source "$SCRIPT_DIR/fedora-full.sh" # Add workstation repo sudo dnf install -y fedora-workstation-repositories color_cyan "Install Office packages" install_packages libreoffice pause_if_debug color_cyan "Install editors packages" # temp removed packages: # sublime-text-4 flatpak install -y flathub com.vscodium.codium pause_if_debug color_cyan "Install internet packages" sudo dnf config-manager setopt google-chrome.enabled=1 install_packages google-chrome-stable # temp removed packages # discord firefox insync brave-bin pause_if_debug color_cyan "Install theming packages" # variety pause_if_debug color_cyan "Install media packages" install_packages mpv flameshot # temp removed packages # vlc gimp inkscape spotify lollypop pause_if_debug color_cyan "Install shell packages" install_packages zsh zsh-syntax-highlighting # temp removed packages # fish oh-my-zsh-git zsh-completions pause_if_debug color_cyan "Install system-tools" install_packages @development-tools wget cmake ninja-build pkgconf-pkg-config pause_if_debug color_cyan "Install tools" install_packages system-config-printer system-config-printer-applet system-config-printer-libs ripgrep meld btop htop # temp removed packages # wttr pause_if_debug # End of script color_green "Workstation setup completed." pause_if_debug ###### TODO ### autostart flameshot tray icon ### autostart insync tray icon ### autostart volumeicon ### autostart clipboard manager ### set google chrome as default browser