website/content/posts/random-tidbits.md

24 lines
707 B
Markdown
Raw Normal View History

2022-05-20 19:49:17 +00:00
---
title: "Random Tidbits"
date: 2020-10-28
2022-07-21 20:29:16 +00:00
draft: true
2022-05-20 19:49:17 +00:00
type: "post"
tags: ["Random", "Linux"]
---
2022-09-05 20:52:10 +00:00
*Originally posted on my [old blog](https://git.exozy.me/a/blog/src/branch/main/_posts/2020-10-28-random-tidbits.md)*
2022-05-20 19:49:17 +00:00
## Play videos in your terminal!
![On YouTube](/img/tux-video.png){: height="300px" } ![In a terminal](/img/tux-text.png){: height="300px" }
2022-05-20 19:49:17 +00:00
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!