Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Since I use a tilling window manager and the browser I use for day to day use is on a workspace where an empty terminal window is always open next to it, everything happens faster than it probably reads from my larger than it should description.

This was the key insight I was hoping for - thanks!

Also, TIL that I can watch YT with MPV and terminal-fed URLs. That's a game-changer for me. Cheers.



> This was the key insight I was hoping for - thanks!

You are welcome! I separate workspaces by their purposes so to speak, so the one with qutebrowser[1] is divided in four squares, with qutebrowser, aerc[2], profanity[3], and an empty terminal window.

When I need to focus on one, I just switch it to full screen with a keyboard shortcut.

> Also, TIL that I can watch YT with MPV and terminal-fed URLs.

  mpv --ontop --no-border --on-all-workspaces --autofit=1280x720 --geometry=98%:98% "${YOUTUBE_URL}" &> /dev/null &
Just to complete my previous comment, the command above gives you an YouTube video played by mpv in picture by picture mode, which should always persist on top when switching workspaces in i3wm.

[1] The browser I use daily for personal things. Work stays in another browser in another workspace.

[2] Command-line email client.

[3] Command-line XMPP client.


You sir, are a legend, thanks for all the useful tips.


> Also, TIL that I can watch YT with MPV and terminal-fed URLs. That's a game-changer for me. Cheers.

You can even pass youtube-dl parameters using mpv. The one I use the most is --ytdl-format which corresponds to -f on the youtube-dl side.


Cheers thanks!




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: