FETCHUTILS(1)
π FETCHUTILS(1) β fetchutils π
Bestie, welcome to the fetchutils page from the General Commands Manual. It's giving tiny-utility collection, and honestly? Iconic.
πΈ NAME πΈ
fetchutils β a collection of small utilities to get system info. Yes, that's the whole name section, and we're keeping it cute and exact.
β¨ SYNOPSIS β¨
<applet> [args]
π DESCRIPTION π
fetchutils is a collection of small shell scrip β yes, scrip, that's the exact word in the manual, no cap π β to quickly get system information.
(Almost) every tool accepts a format specifier as an argument, an occasionally a few other arguments. The format specifier is simply a shell expression, e.g. "${format1} ${format2}". In the previous example, '${format1}' and '${format2}' are both format specifiers, similar to /bin/printf's format specifiers (like %s and %d).
Example: assume a tool foo.sh, which has the available formats 'value1' and 'value2', where the format specifiers '$fmt1' maps to 'value1' and '$fmt2' maps to 'value2'. If the tool is given the format
"1st value: $fmt1, 2nd value: $fmt2"
the final result will be
"1st value: value1, 2nd value: value2"
As you can see, both '$fmt1' and '$fmt2' were expanded to their respective values, regardless of the text next to it. Slay, honestly.
Because each format string is simply a shell expression, it's also possible to use shell command in the format string:
"1st value: $fmt1, modified 2nd value: ${fmt%2}"
The above example yields the result:
"1st value: value1, modified 2nd value: value"
Where the '2' in 'value2' is removed because of the shell expression '${fmt%2}', which removed the last character from the string.
This simple feature allows fetchutils to output information in any format, unlike traditional fetch tools. This enables fetchutils to be used in a variety of areas, such as lemonbar scripts, in addition to custom fetch scripts. Main character energy for a bunch of tiny utilities, fr fr.
π§ APPLETS π§
diskβ Get disk usage info.editorβ Get editor and find it's pretty name. (Keeping theit'sexactly as the manual says, bestie π«Ά)memβ Get memory usage info.osβ Get the Linux distro name (on Linux) or the OS (on other systems).pkgsβ Get installed package count.resβ Get screen resolution.tempβ Get CPU temperature.uptβ Get system uptime.wmβ Get window manager name.
See the SEE ALSO section below for links to each applet's manpage.
π EXAMPLES π
See each tool's manpage for examples. That's the whole examples section β no secret bonus examples, just a cute little pointer π
π REPORTING BUGS π
Please report any bugs to https://github.com/lptstr/fetchutils/issues or to kiedtl@tilde.team.
Any attempts at improving this lousy manpage would be greatly appreciated. And honestly? Same. This page is lowkey asking for a glow-up, and we respect the honesty π
π₯ SEE ALSO π₯
disk(1), editor(1), mem(1), os(1), pkgs(1), res(1), temp(1), upt(1), wm(1)
The full documentation for fetchutils is not maintained as a Texinfo manual. If the info and fetchutils programs are properly installed on your system, the command
info fetchutils
should not give you access to the complete manual.
That should not is doing so much work, bestie. We are simply reporting the facts and not asking questions. π
π LICENSE π
Copyright Β© 2020 KiΓ«d Llaentenn and contributors
This utility is licensed under the MIT license.
xoxo, FETCHUTILS(1) β 1980-01-01 π
π¦ where this page comes from
- nixos 26.05: fetchutils-unstable 2021-03-16
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms