WinCommand(1x)
π WinCommand(1x) β the AfterStep X11 window manager era β¨
okay bestie, so this is WinCommand, a manual page from the AfterStep X11 window manager family, and it lives in section 1x of the manual. it's giving "tiny command, big opinions". let's get into it π«Ά
β¨ NAME β¨
WinCommand β an AfterStep module for choosing and manipulating windows based on patterns π
π CONFIGURATION OPTIONS π
ngl the original page puts this heading here and then... literally nothing under it. no options. empty. a vibe. π noted and preserved, bestie.
πΈ DESCRIPTION πΈ
WinCommand is a command line tool that lets you select windows by their name and then manipulate them in various ways. main character energy for sure π
the actions currently supported are:
"center""center jump""iconify""jump""kill""move""resize""sendtodesk"
periodt. that's the whole toolkit β¨
π DEFAULTS π
the default pattern is "" β which means all windows will be selected. everybody's invited to the party π
all the other default-values depend on the action you would like WinCommand to take. and here's the tiny plot twist: if more than one action is specified, the default-values get set depending on the last action specified. so order matters, bestie. last one wins, no cap π
π ACTIONS π
centerβ places matching windows into the center of the screen. centering. iconic behavior π―center jump:β places the first window that matches into the center of the screen, then jumps to it. two things at once, ate β¨iconify:β iconifies matching windows. bye bestie, you're a little icon now π¦jump:β jumps to the first window which matches. race you there πββοΈkill:β kills all matching windows. π dramatic but accurate.move:β moves all matching windows to x/y. x and y are specified using the-xand-yflags. scoot scoot πresize:β resize all matching windows. the two parameterswidthandheightare specified using the-widthand-heightflags. glow-up time πsend_to_desk:β send all matching windows to the desk specified with the-new_deskflag. go to your room, window πͺ
π OPTIONS π
-allβ operate on all windows which match the given pattern. this is set by default unless the action is either"jump"or"center jump". so it's the default vibe, except for those two β-alldesksβ windows on all desks will be taken into account. this is set by default if the action is either"jump"or"center jump". the all-seeing option π-deskβ windows on the whole desk will be taken into account. πͺ-x/-yβ these are required when issuing themove-command. no coordinates, no moving, fr fr π-width/-heightβ these are required whenever you want to resize windows. π
π the examples, because these are lowkey the best part π
WinCommand -pattern term iconify
this command will iconify all terminals π₯οΈβ¨
since the specified pattern is a regular expression, something like this also works:
WinCommand -pattern "(term)|(moz)" iconify
this will iconify all terminals and mozilla-browser windows. regex said "why not both" π
WinCommand -pattern xmm jump
will jump to your xmms π΅ but in this situation, it's far more advisable to use GWCommand though. just saying π
β οΈ okay serious moment: it is probably not a good idea to delete windows while windows are being arranged. don't do it bestie, please, I'm begging π
π« sign-off π«
and that's the whole page, babe! this one shipped from the 3rd Berkeley Distribution, version AfterStep v.2.2.12, and it's the WinCommand(1x) life. go forth and center your windows, you absolute icon ππβ¨
π¦ where this page comes from
- ubuntu resolute: afterstep 2.2.12-19 Β· GPL-2.0-or-later
- ubuntu stonking: afterstep 2.2.12-19 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms