wlrctl(1)
β¨ wlrctl β like, the manual, but make it make sense β¨
okay bestie, so wlrctl is a command line utility for miscellaneous wlroots extensions π
it's a General Commands Manual situation, manual name wlrctl(1), and yes we're doing this whole thing together, no skimming, no skipping, because every single flag matters and I refuse to let you miss one π«Ά
πΈ SYNOPSIS πΈ
wlrctl [options...] [command]
that's the whole vibe. options, then a command. slay.
β¨ OPTIONS β¨
-h,--helpβ shows you a help message and then dips out. bye! π-v,--versionβ tells you which version ofwlrctlyou're running and then quits. iconic.
π COMMANDS π
keyboard <action>β use a virtual keyboard β¨οΈpointer <action>β use a virtual pointer device π±οΈwindow|toplevel <action>β use the foreign toplevel interface πͺoutput { <action> | <identifier> [config_action] }β use the output management interface π₯οΈ
π KEYBOARD ACTIONS π
type <string> [modifiers ...]β sends a string to be typed into the focused client. literally typing for you, main character energy fr fr
modifiers <SHIFT,CTRL,ALT,SUPER> β a comma-separated list of modifiers that get held down on the virtual keyboard while string is being typed. so like, held the whole time. no cap.
π POINTER ACTIONS π
click [button]β clicks a mouse button. if you don't specify one, it clicks the default button, which is the left one.move <dx> <dy>β moves the cursor.dxis the displacement in the positive-right direction,dyis the displacement in the positive-downward direction. negative numbers are allowed. units are pixels. math but make it cursor β¨scroll <dy> <dx>β scrolls the cursor.dyis the amount of vertical scroll,dxis the amount of horizontal scroll. negative numbers are allowed. (yes,dyfirst, I know, read it again, it's fine π)
π¦ TOPLEVEL ACTIONS π¦
minimize [matches...]β tells the compositor to minimize the matching windows.maximize [matches...]β tells the compositor to maximize the matching windows.fullscreen [matches...]β tells the compositor to fullscreen the matching windows.focus [matches...]β tells the compositor to focus the matching windows.find [matches...]β exits with a successful return code iff there is at least one window matching the criteria you gave. so like, a little yes/no vibe check π₯wait [matches...]β waits, and only returns a successful return code once all the matching windows have closed. but heads up: if there are no matches, it exits with a failing return code immediately. zero patience, honestly πwaitfor [matches...]β waits to return a successful return code until there is at least one window that matches the criteria you asked for. patient queen behavior π
β OUTPUT ACTIONS β
listβ lists the names of all known outputs π
π TOPLEVEL MATCHSPEC π
okay this is the part where people get confused so we're doing this slowly and gently π§
a match is a colon separated attribute/value pair. for example: to match a firefox window, a suitable match value is app_id:firefox.
you may give any number of match specifiers, and a window must match all of them to be considered. (all, bestie. every single one. it's giving strict.)
here's the spicy part β if the app_id or title keys are specified more than once, a window may match any of the given values. but for everything else, later key/value pairs override previous ones.
also, a match without a key is assumed to be an app_id, so just firefox works in the example above. cute, right? π
currently supported attributes are: app_id, title, and state.
supported state values are: maximized, minimized, active, and fullscreen, plus their negations: unmaximized, unminimized, inactive, and unfullscreen. you can also use a - prefix instead, for example state:-fullscreen.
π AUTHOR π
written by Ronan Pigott <rpigott@berkeley.edu> β thank you for your service, legend π«‘
and that's the whole page, bestie!! this one's dated 2026-01-29, manual name wlrctl(1), and it's the wlrctl page for the General Commands Manual. go forth and control your windows, you absolute icon πβ¨ππ¦ no cap.
π¦ where this page comes from
- ubuntu resolute: wlrctl 0.2.2-2build1 Β· MIT
- ubuntu stonking: wlrctl 0.2.2-2build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms