mirror of
https://git.sr.ht/~ehmry/hottext
synced 2026-01-10 00:41:12 +00:00
No description
| LICENSES | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| build-nim-sbom.nix | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| hottext.nimble | ||
| README.md | ||
| sbom.json | ||
| Tupfile | ||
HOTTEXT
A hot medium for plain text.
Reads text from stdin, starts paused.
Inspired by Stutter.
Wrap it up in a script, set it as your PAGER, or just use it directly.
fortune | hottext
Install
Requires Nim and SDL2.
export PATH=$PATH:$HOME/.nimble/bin
nimble install hottext
Configuration
Configuration is done via environmental variables.
HOTTEXT_FONT_PATH
Path to a TTF font file. If set at build-time then this font file will be a baked-in default.
HOTTEXT_FONT_SIZE
Size of font by some definition of size.
HOTTEXT_WPM
Words-per-minute, defaults to 400.