[discussion] how is this different compared to keyboard shortcuts ?
foxjaw opened this issue · comments
On i3/sway, we can bindsym exec mpv $(<your last clip from xclip/wl-clipboard>)
(which probably will be the video link)
On gnome/kde/other DE's, we can create a custom shortcut for the above same command.
Now this project seems to do the same function as above. What else can be beneficial with this project other than this ?
This project's sole purpose is to put the link directly in MPV rather than using the clipboard as an intermediate.
To summarize:
- Not everyone uses i3/Sway, much less Linux. There are ~hundreds of macOS and Windows users of ff2mpv who don't find it as easy to configure keybindings.
- For people who do use i3 (like myself), sometimes it's just more convenient to use an extension.
If this doesn't apply to you, then that's okay -- this extension isn't really meant to be anything unique, and I maintain it almost solely based on my own needs. Keybindings are a perfectly suitable alternative for many people.
Nice tqvm. MacOS & Windows does not have ability for custom shortcuts anyways. And most people don't even touch keyboard for stuff.
I just wondered who use keyboard a lot, especially on Linux, all distros/WMs support custom shortcuts & use clipboard to play through mpv.
And moreover, a daemon that constantly sits in your task manager, is required for ff2mpv.
Tq for your great work btw.
And moreover, a daemon that constantly sits in your task manager, is required for ff2mpv.
I'm not sure what you mean by this: ff2mpv does not run a daemon. It uses your browser's native messaging feature to temporarily spawn a native process, which then dispatches to mpv
. Neither process should live longer than the video being played.