swww-query(1)

πŸ“¦ version 0.9.5, in opensuse-leap 16.0

πŸ’… 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 -h keeps 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:

  • SIZE is in the WxH format β€” example given: 1920x1080 πŸ–₯️
  • SCALE shows up in the form "scale: NUMBER"
  • and IMAGE_OR_COLOR is 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 dated 2024-05-05, straight from the swww-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