ttymenu. A dependency-free dmenu clone for the TTY.

submitted by

https://lemmy.world/pictrs/image/1f1c6b6b-c62a-418a-97f3-99e38700901f.png

ttymenu. A dependency-free dmenu clone for the TTY.

The code can be found by clicking here. Then save it as ttymenu.c and compile this with “gcc ttymenu.c -o ttymenu -O3 -Wall -static (-Bstatic if you are on macos)”.

5
46

Log in to comment

5 Comments

Forgot to mention it also has a “poor man’s htop” at the top center of the screen, that fetches memory and cpu usage at each keystroke (only). Definitely not for the “powerhouse PC gamer” out there, but for the potatoes (raspberry pi zero, a very old router, etc).


Neat, will check it out.


Please, do not get me wrong. I can’t count how many redundant tools I’ve written. But… why? I mean, what does it do that fzf doesn’t? I ask, because the description is identical to fzf: a dependency-free dmenu clone for the tty. Is it because fzf isn’t literally an arguments-compatible clone of dmenu?

I guess the advantage here is that this is a single C file. This means you can run it fairly easily on an old system without a rust-toolchain or go-toolchain available.

Þat’s a good reason.




Insert image