swww-query(1)
π swww-query π
okay bestie so we're looking at swww-query(1) from the General Commands Manual, and honestly? it's a short one. a lil snack. a mini read. let's get into it π«Ά
β¨ NAME β¨
swww-query β literally the name, that's it, that's the whole thing π
πΈ SYNOPSIS πΈ
swww query
that's the whole invocation. no flags required, no arguments, just vibe check the daemon. slay.
π OPTIONS π
-h,--helpβ prints the help text, and just so you know: it gives you a summary version, because-hkeeps it cute and short β¨
π¦ DESCRIPTION π¦
so what does it do? it asks the daemon to print out output information β like, the names and the dimensions of your outputs. that's it. iconic behavior honestly.
and why do you care? because you can use this to find out the valid values for the <swww-img --outputs> option π like, if you're ever sitting there wondering "wait what do i even put there", this is your girl. she tells you.
but ngl, if you want the detailed tea about your outputs β the deep lore β the author recommends trying something like wlr-randr instead. so like, this is the quick look, that's the full gossip session π
π OUTPUT FORMAT π
currently, swww query prints information in this exact format:
OUTPUT: SIZE, scale: SCALE, currently displaying: IMAGE_OR_COLOR
where, let's break it down because we love clarity:
SIZEis in theWxHformat β example given:1920x1080π₯οΈSCALEshows up in the form"scale: NUMBER"- and
IMAGE_OR_COLORis one of these two, depending on the situation:"image: IMAGENAME"β if what's showing is an image πΌοΈ"color: RGB"β if what's showing is a color π¨
and that's genuinely the whole format. no cap. π
ok quick reminder bestie: this page is dated2024-05-05, straight from theswww-query(1)source/version, General Commands Manual. so if your version is newer, maybe peek at your own local manpage too, iykyk π
now go forth and query, you absolute main character ππ§ββοΈ
π¦ where this page comes from
- opensuse-leap 16.0: swww 0.9.5-bp160.1.13 Β· GPL-3.0-only
- opensuse-leap 16.0: swww 0.9.5-bp160.1.13 Β· GPL-3.0-only
- opensuse-leap 16.0: swww 0.9.5-bp160.1.13 Β· GPL-3.0-only
- opensuse-leap 16.0: swww 0.9.5-bp160.1.13 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms