You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the video starts, a new terminal is opened (I'm using mplayer with ffmpeg as my video_player). The original window only shows buffering information etc.
Can we move the existing youtube-viewer process to background and start the video in same terminal instead? That would help in saving some screen estate in tiling WMs like i3.
The text was updated successfully, but these errors were encountered:
There are scripts for that, for instance i3-swallow. An internal solution for it would be environment dependent thus making its implementation probably a headache.
Edit: if you are wondering how to use it, you can modify the configuration file youtube-viewer.conf. For instance.
in the videoplayers option: video_player_selected => "mpv",
In the command field make sure the equivalent symlink for your system is: cmd => "/usr/sbin/i3-swallow /usr/sbin/mpv"
mpv can spawn video on any window, if given the flag -wid <insert window id>
For example, mpv <filename/youtube-url> -wid $(xwininfo | awk '{if(/Window id:/) print $4}' & xdotool click 1)
This will spawn mpv on terminal itself, be careful to keep the mouse pointer inside the terminal window.
When the video starts, a new terminal is opened (I'm using mplayer with ffmpeg as my video_player). The original window only shows buffering information etc.
Can we move the existing youtube-viewer process to background and start the video in same terminal instead? That would help in saving some screen estate in tiling WMs like i3.
The text was updated successfully, but these errors were encountered: