LSW(1)

hey bestie πŸ’– you're looking at LSW(1) from the General Commands Manual β€” and yes, we're about to make child windows make sense.

🌸 NAME 🌸

lsw β€” list child windows

πŸ¦‹ SYNOPSIS πŸ¦‹

lsw [-arou] [wid ...]

✨ DESCRIPTION ✨

okay so here's the vibe: lsw lists child windows of the given window. If no windows are given, lsw lists the children of the root window. 🫢

By default, lsw lists only windows that are mapped (visible) and with the override_redirect value set to 0 (i.e., unignored). lowkey picky, highkey useful πŸ’…

  • -a β€” list all windows. every single one, no filter, periodt ✨
  • -r β€” print the ID of the root window. the root ID is the main character here πŸ‘‘
  • -o β€” list windows whose override_redirect attribute is set to 1. yes, those ones πŸ™ˆ
  • -u β€” list unmapped (invisible) windows. the shy windows, basically πŸ’€

πŸŽ€ ENVIRONMENT πŸŽ€

lsw acts on the X display specified by the DISPLAY variable. so that's the display it's gonna talk to, bestie 🌈

πŸ’– SEE ALSO πŸ’–

go check out ignw(1), mapw(1), and xargs(1) too πŸ¦‹


πŸ’– page from wmutils β€” that's the source/version, bestie β€” dated December 13, 2014 β€’ bye, slay, and happy window-listing πŸ’…βœ¨