Skip to content

Start new presentations in the current Omarchy theme - #60

Merged
dhh merged 3 commits into
masterfrom
new-deck-current-theme
Nov 12, 2026
Merged

dhh merged 3 commits into
masterfrom
new-deck-current-theme

Conversation

@dhh

@dhh dhh commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

A new presentation (first launch with nothing to reopen, Ctrl+N, or hype new without --theme) now starts in the theme named in ~/.local/state/omarchy/current/theme.name instead of always Tokyo Night, falling back to Tokyo Night when that theme isn't found. Its colors are written into the header the same way choosing a theme does, so the deck looks the same where the theme isn't installed; chooseTheme and the starter now share that code.

The tests point XDG_STATE_HOME at their own directory so the machine's theme can't change their results.

Before / after:

🤖 Generated with Claude Code

Before: a new deck in Tokyo Night

After: a new deck in the current theme

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; both previously reported theme-refresh issues are fixed.

Summary

New presentations use the current Omarchy theme and save its colors in the Markdown header.

  • New presentations start in the current installed Omarchy theme.

Reviews (3) · Last reviewed commit: "Refresh the theme picker when new themes..." · Reviewed by Greptile

Comment thread src/deck.cpp Resolved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread src/deck.cpp Resolved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dhh
dhh merged commit 3fd32a1 into master Nov 12, 2026
2 checks passed
@dhh
dhh deleted the new-deck-current-theme branch November 12, 2026 17:15
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.

1 participant