RES(1)
π RES(1) π
okay so real talk, this is a page from the General Commands Manual and it's literally about the res command. bestie, it's giving "small tool, big main character energy" β¨
πΈ NAME πΈ
res β get screen resolution. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
res [format]
π DESCRIPTION π
so res retrieves the screen resolution β and ngl it only does this in an X11 session, so keep that in mind. π«Ά
β¨ FORMAT SPECIFIERS β¨
these are the little placeholder cuties you can drop into your format string:
${height}β height of screen in pixels.${width}β width of screen in pixels.
like, that's the whole specifier menu. short, sweet, iconic. π
π EXAMPLES π
executing res with no format, like so:
res
runs res with the default format, '${height}x${width}'. sample result: '1920x1080' β lowkey a classic. π
a custom format can be used, e.g.:
res '${height}px high, ${width}px wide'
sample result: '1920px high, 1080px wide' β see how it ate that? π₯
π KNOWN ISSUES π
resdoes not work on Wayland. no cap, it just doesn't. π
π REPORTING BUGS π
found a bug? please report any bugs to https://github.com/lptstr/fetchutils/issues or to kiedtl@tilde.team. the maintainers wanna hear from you, fr fr. π
π SEE ALSO π
also, quick heads up: the full documentation for res is not maintained as a Texinfo manual. if the info and res programs are properly installed on your system, the command
info res
should not give you access to the complete manual. yeah. that's the whole bit. π
π LICENSE π
Copyright Β© 2020 KiΓ«d Llaentenn and contributors
This utility is licensed under the MIT license. slay. π
okay that's the whole page!! hope that cleared things up bestie, go get those pixels πβ¨
this was res(1), dated 1980-01-01 β yes, before most of us existed, and it's still serving. bye bestie!! π¦π
π¦ 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