Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add macro capability similar to newsboat #9

Open
guyfedwards opened this issue Dec 28, 2022 · 0 comments
Open

Add macro capability similar to newsboat #9

guyfedwards opened this issue Dec 28, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@guyfedwards
Copy link
Owner

Say there is a youtube video I want to watch. In my config it is rendered in elinks then I go to it. I press my macro key which is the comma then a y to play the video in mpv with help from yt-dlp.

macro y set browser "i3 exec mpv" ; open-in-browser ; set browser "elinks %u"

If I want to open the video in my browser, I have the macro key + f:

macro f set browser "i3 exec firefox" ; open-in-browser ; set browser "elinks %u"

It is very extensible because I can map it exactly how I like. If I want to open it in any program, I just set a macro for it.

@guyfedwards guyfedwards added enhancement New feature or request help wanted Extra attention is needed labels Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant