Add Thunderbird to the install menu - #12166
Open
Maximilian-Maag wants to merge 2 commits into
Open
Maximilian-Maag wants to merge 2 commits into
Maximilian-Maag wants to merge 2 commits into
Conversation
Omarchy ships no mail client, so mailto: links only work for whoever kept the HEY web app. Thunderbird is the obvious desktop answer and it is right there in extra, so install it like any other service and let it take over the mailto: handler while it is around. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Removal handed mailto: back to the HEY web app, but anyone who had run "omarchy remove preinstalls" was left with mailto: pointing at a desktop file that the very next line uninstalls. xdg-mime cannot clear an association, so drop the lines it wrote instead. Lists that name other handlers as well are left alone, since those were curated by hand. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Omarchy ships no mail client, so
mailto:links only work for whoever kept the HEY web app. Thunderbird is the obvious desktop answer and it is already inextra, so this installs it like any other service.omarchy install service thunderbirdinstallsthunderbird, pointsx-scheme-handler/mailtoat it, and opens it.omarchy remove service thunderbirddrops the package and releasesmailto:, but only while Thunderbird still holds it — a handler you picked yourself afterwards is left alone. It handsmailto:back toHEY.desktopwhen that web app is still installed, and otherwise drops the linesxdg-mimewrote, sincexdg-mimehas no way to clear an association and the alternative is leavingmailto:pointed at a desktop file the next line uninstalls. A list naming other handlers as well is left untouched.omarchy-pkg-present thunderbirdlike the neighbouring entries.Tested with
test/cli, by checking both routes resolve viaomarchy commands --all, and by exercising the handler logic against a sandboxedHOME/XDG_CONFIG_HOME/XDG_DATA_HOME: claimingmailto:, handing it back to HEY, declining to touch a third-party handler, clearing the association when no fallback exists, preserving a curated multi-handler list, and doing nothing when there is nomimeapps.list.🤖 Generated with Claude Code