website/content/posts/random-tidbits.md

23 lines
700 B
Markdown

---
title: "Random Tidbits"
date: 2020-10-28
type: "post"
tags: ["Random", "Linux"]
---
*Originally posted on my [old blog](https://git.exozy.me/Ta180m/blog/src/branch/main/_posts/2020-10-28-random-tidbits.md)*
## Play videos in your terminal!
![On YouTube](/img/tux-video.png){: height="300px" } ![In a terminal](/img/tux-text.png){: height="300px" }
Assuming you have mpv, just run `CACA_DRIVER=ncurses mpv -vo=caca *path_to_video*`.
You can also pipe `youtube-dl` into this command, but sometimes I get a bunch of cryptic error messages. I've found that downloading the video beforehand tends to work better.
I also recommend turning down your terminal's font size.
Goodbye X, hello tty!