Skip to content

Add Rosé Pine theme support and installation guide for bluefin-cosmic-dx - #32

Merged
ericrocha97 merged 4 commits into
mainfrom
feat/rose-pine-theming
Aug 8, 2026
Merged

Add Rosé Pine theme support and installation guide for bluefin-cosmic-dx#32
ericrocha97 merged 4 commits into
mainfrom
feat/rose-pine-theming

Conversation

@ericrocha97

@ericrocha97 ericrocha97 commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

Este PR adiciona o tema Rosé Pine completo para o ambiente COSMIC (terminal, prompt, cursores e apps) e guias de instalação bilíngues (EN + PT-BR).

Changes

  • Tema Rosé Pine: Adicionado custom/ujust/custom-cosmic-theme.just com suporte completo ao tema Rosé Pine Moon para COSMIC Desktop, Starship prompt, terminal Warp, navegador Zen e cursores (+457 linhas)
  • Guias de instalação: Adicionados docs/installation.md (EN) e docs/instalacao.md (PT-BR) com passo a passo para primeira instalação e rebase via bootc (98 linhas cada)
  • README/README.pt-BR: Adicionada seção "Instalação" com link para os guias, comandos de rebase direto para ambas variantes (standard/NVIDIA) e formatação da tabela de variantes

Testing

  • Not run (explain why)
  • just lint
  • just build
  • just build-qcow2
  • just run-vm-qcow2

Checklist

  • PR title follows Conventional Commits
  • Updated README "What Makes this Raptor Different?" (if packages/config changed)
  • Updated "Last updated" date in README (if packages/config changed)
  • No secrets or private keys included

Copilot AI lite review requested due to automatic review settings August 8, 2026 04:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds end-user theming and onboarding documentation for the bluefin-cosmic-dx image, including a new ujust command set to apply the Rosé Pine theme across COSMIC and related tools, plus bilingual installation guides and README updates to point users to those docs.

Changes:

  • Add ujust theming commands to install/apply/update/uninstall Rosé Pine (COSMIC desktop/terminal, Starship, Warp, Zen, cursors) and configure Vicinae for COSMIC.
  • Add bilingual installation guides (EN + PT-BR) describing ISO install + bootc switch rebase workflow.
  • Update README (EN + PT-BR) with an “Installation” section and improved variant table formatting.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
README.md Adds Installation section linking to docs and reformats variants table.
README.pt-BR.md Adds Instalação section linking to docs and reformats variants table.
docs/installation.md New English step-by-step installation + rebase guide.
docs/instalacao.md New Portuguese (PT-BR) step-by-step installation + rebase guide.
custom/ujust/custom-cosmic-theme.just New ujust commands to install/apply/update/uninstall Rosé Pine theming and configure Vicinae for COSMIC.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread custom/ujust/custom-cosmic-theme.just
Comment thread custom/ujust/custom-cosmic-theme.just Outdated
Comment thread README.md

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0e48ff5962

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread custom/ujust/custom-cosmic-theme.just Outdated
Comment thread custom/ujust/custom-cosmic-theme.just Outdated
- Fix grep pipeline in find_zen_profile to not fail with pipefail
  when profiles.ini has no Path= line
- Bake COSMIC_DATA_CONTROL_ENABLED=1 into image at build time
  in 30-cosmic-desktop.sh instead of trying to edit read-only
  /usr/share at runtime
- Replace sudo sed on system desktop file with writable user-level
  session override in ~/.local/share/wayland-sessions/
- Remove only known theme files (userChrome.css, userContent.css)
  in Zen uninstall instead of rm -rf the entire chrome/ directory
- Update PR description to remove VHDX mention not in scope

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

Suppressed comments (12)

custom/ujust/custom-cosmic-theme.just:373

  • Same concern as setup-rose-pine-starship: updating from a mutable main branch in a personal repo is non-reproducible and can unexpectedly change user config. Prefer pinning to a commit/tag or shipping the theme file in-repo.
    curl -fsSL --max-time 15 \
        -o "$HOME/.config/starship.toml" \
        "https://raw.githubusercontent.com/ericrocha97/starship/main/rose-pine.toml"

docs/instalacao.md:59

  • Para manter consistência com outras instruções do repo, inclua --transport registry neste exemplo de bootc switch para deixar explícito que a imagem vem de um registry.
sudo bootc switch ghcr.io/ericrocha97/bluefin-cosmic-dx-nvidia:stable

docs/installation.md:59

  • For consistency with other repo instructions, include --transport registry in this bootc switch example so it’s explicit the image is pulled from a registry.
sudo bootc switch ghcr.io/ericrocha97/bluefin-cosmic-dx-nvidia:stable

build/30-cosmic-desktop.sh:115

  • The sed replacement assumes the Exec line is exactly Exec=/usr/bin/start-cosmic. If upstream changes that desktop entry (extra args, different path), this will silently not modify anything and then hard-fail the build. Use a more flexible match on the Exec line containing start-cosmic and fail with a clearer error only if no such Exec line exists.
        sed -i \
            's#Exec=/usr/bin/start-cosmic#Exec=env COSMIC_DATA_CONTROL_ENABLED=1 /usr/bin/start-cosmic#' \
            "${COSMIC_DESKTOP_FILE}"
        if grep -q "COSMIC_DATA_CONTROL_ENABLED=1" "${COSMIC_DESKTOP_FILE}"; then
            log_success "COSMIC_DATA_CONTROL_ENABLED=1 enabled in ${COSMIC_DESKTOP_FILE}"

custom/ujust/custom-cosmic-theme.just:392

  • setup-rose-pine-warp installs the Warp theme under ${XDG_DATA_HOME:-$HOME/.local/share}, but update-rose-pine-all assumes ~/.local/share. If XDG_DATA_HOME is set, updates will miss the installed theme.
    echo "==> Updating Warp theme (git pull)"
    WARP_THEME_DIR="$HOME/.local/share/warp-terminal/themes/rose-pine-warp"
    if [[ -d "$WARP_THEME_DIR/.git" ]]; then

custom/ujust/custom-cosmic-theme.just:450

  • uninstall-rose-pine-all removes the Warp theme only from ~/.local/share, but installation may have used $XDG_DATA_HOME. This can leave the theme behind on systems with a non-default XDG data dir.
    echo "Removing Warp theme..."
    rm -rf "$HOME/.local/share/warp-terminal/themes/rose-pine-warp"

custom/ujust/custom-cosmic-theme.just:302

  • This user-level COSMIC session override relies on an exact Exec=/usr/bin/start-cosmic match and also doesn't guard against $SYSTEM_DESKTOP missing before calling sed (which will abort due to set -e). Make the substitution match any Exec line containing start-cosmic and fail with a clearer message if the source desktop entry is missing.
        echo "Creating user-level session override..."
        mkdir -p "$(dirname "$USER_DESKTOP")"
        sed 's#Exec=/usr/bin/start-cosmic#Exec=env COSMIC_DATA_CONTROL_ENABLED=1 /usr/bin/start-cosmic#' \
            "$SYSTEM_DESKTOP" > "$USER_DESKTOP"
        if grep -q "COSMIC_DATA_CONTROL_ENABLED=1" "$USER_DESKTOP"; then

custom/ujust/custom-cosmic-theme.just:17

  • This downloads the Starship theme from a mutable branch (main) in a personal repository. That creates a supply-chain risk (content can change without review) and makes the setup non-reproducible. Consider pinning to a specific commit/tag or vendoring the theme file into this repo and copying it locally.

This issue also appears on line 371 of the same file.

    curl -fsSL --max-time 15 \
        -o "$HOME/.config/starship.toml" \
        "https://raw.githubusercontent.com/ericrocha97/starship/main/rose-pine.toml"

README.md:80

  • The rebase commands here omit the reboot step, so users may think the switch is complete when it won’t take effect until restart. Also, other repo docs recommend specifying --transport registry for clarity/consistency when switching to a remote image.
# Standard (Intel/AMD GPUs, VMs)
sudo bootc switch ghcr.io/ericrocha97/bluefin-cosmic-dx:stable

# NVIDIA (RTX GPUs)
sudo bootc switch ghcr.io/ericrocha97/bluefin-cosmic-dx-nvidia:stable

README.pt-BR.md:80

  • Os comandos de rebase aqui não incluem reinicialização; o bootc switch só entra em efeito após reboot, então isso pode confundir quem está instalando. Além disso, outros docs do repo usam --transport registry para deixar explícito que é um switch via registry.
# Padrão (GPUs Intel/AMD, VMs)
sudo bootc switch ghcr.io/ericrocha97/bluefin-cosmic-dx:stable

# NVIDIA (GPUs RTX)
sudo bootc switch ghcr.io/ericrocha97/bluefin-cosmic-dx-nvidia:stable

docs/installation.md:53

  • For consistency with other repo instructions, include --transport registry in this bootc switch example so it’s explicit the image is pulled from a registry.

This issue also appears on line 59 of the same file.

sudo bootc switch ghcr.io/ericrocha97/bluefin-cosmic-dx:stable

docs/instalacao.md:53

  • Para manter consistência com outras instruções do repo, inclua --transport registry neste exemplo de bootc switch para deixar explícito que a imagem vem de um registry.

This issue also appears on line 59 of the same file.

sudo bootc switch ghcr.io/ericrocha97/bluefin-cosmic-dx:stable

@ericrocha97
ericrocha97 merged commit a501a8c into main Aug 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants