Skip to content

Ship the Bitcoin whitepaper under Learn - #22001

Open
RuneStone0 wants to merge 1 commit into
omacom:quattrofrom
RuneStone0:feat/bitcoin-whitepaper
Open

RuneStone0 wants to merge 1 commit into
omacom:quattrofrom
RuneStone0:feat/bitcoin-whitepaper

Conversation

@RuneStone0

Copy link
Copy Markdown

What changes

Adds the Bitcoin whitepaper to the install and one row to open it, as proposed in #22000.

macOS kept the Bitcoin whitepaper on disk for years as simpledoc.pdf inside VirtualScanner.app until Apple removed it. Omarchy is the distro that argues hardest for an open, opinionated desktop, so keeping the paper on disk is on brand.

  • default/documents/bitcoin-whitepaper.pdf: 184 KB, 9 pages, taken from https://bitcoin.org/bitcoin.pdf, sha256 b1674191a88ec5cdd733e4240a81803105dc412d6c6708d53ab94fc248f4f553. default/** already installs to /usr/share/omarchy/default/, so it lands at /usr/share/omarchy/default/documents/bitcoin-whitepaper.pdf with no packaging change.
  • default/omarchy/omarchy-menu.jsonc: one row, Learn > Bitcoin Whitepaper, with a whole-line comment naming the source and the macOS precedent. The action opens the shipped file through xdg-open, falling back to gio open if xdg-open is not on the machine, so the row never dies silently on a minimal install.
  • default/i18n/en/menu.json: the English label and description, mirroring the menu entry as i18n-test.sh requires. Other languages are left to the sync workflow, which is the normal structural path.
  • docs/file-layout.md: one line under the default/** map so the new tree is documented.

Icon is 󰠓 (md-bitcoin, U+F0813), which Nerd Fonts 3.5.1 carries and the menu font (JetBrainsMono Nerd Font) renders.

Verification

  • test/shell.d/menu-test.sh: 130 ok, 0 not ok.
  • test/shell.d/i18n-test.sh: 417 ok, 0 not ok (structural mode, the default gate).
  • Ran the exact action string through env -u MALLOC_CONF bash -lc with stub xdg-open and gio on PATH: xdg-open path printed /opt/data/code/RuneStone0/omarchy/default/documents/bitcoin-whitepaper.pdf, and with xdg-open absent the gio open fallback printed the same path. Both resolve to the file the diff adds.
  • default/applications/mimeapps.list points application/pdf at org.gnome.Papers.desktop, and papers is in install/omarchy-base.packages, so the default handler is present.
  • PDF checked with pypdf: 9 pages, page 1 text opens "Bitcoin: A Peer-to-Peer Electronic Cash System / Satoshi Nakamoto".

Not checked: no running Omarchy session was available here, so the row was never clicked in a live shell.

Screenshots

No screenshot: this environment has no Hyprland/Quickshell session to capture. What would be on screen is one new row, Learn > Bitcoin Whitepaper, and the paper opening in Papers. Happy to add a capture if you want one before merge.

@greptile-apps

greptile-apps Bot commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[Low impact] The PR appears safe to merge; no actionable code issues were found.

Summary

Adds Learn > Bitcoin Whitepaper to open the bundled paper.

  • Readers can open the Bitcoin whitepaper from Learn.

No actionable code issues found. No live desktop capture was reviewed.

Reviews (2) · Last reviewed commit: "Ship the Bitcoin whitepaper under Learn" · Reviewed by Greptile

@RuneStone0
RuneStone0 marked this pull request as draft December 6, 2026 03:57
@omarchybot omarchybot added the enhancement New feature or request label Dec 6, 2026
@RuneStone0
RuneStone0 marked this pull request as ready for review December 6, 2026 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants