Skip to content

Conversation

@ryneeverett
Copy link
Contributor

This branch is based on #1480 and adds additional pipeto support for mime parts.

@ryneeverett ryneeverett changed the title Mimetree3 pipeto Mime part pipeto support. Mar 23, 2020
@pazz
Copy link
Owner

pazz commented May 6, 2020

please rebase.

The most notable use case is piping html to a browser without extra
scripts such as those shared in pazz#789.
While `pipeto --format mimepart` pipes whichever part is currently
selected, the 'html' and 'plain' formats override the selected mime part
(and preferences in settings).

This is useful because the mime type you want displayed in alot isn't
necessarily the one you want piped and also for setting keybindings to
pipe specific mime types to specific applications (plain -> text editor,
html -> web browser).
When the mimetree is toggled on and a mime part is focused, pipeto
should pipe the focused mime part rather than the currently selected
part. This is only applicable to --format's that pipe a single part,
which are decoded and mimepart.
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