WAITRON(1)
π WAITRON(1) β waitron π
okay bestie, this is the Windowchef Manual page for waitron, and weβre gonna get you comfy with it. Itβs giving βtiny client, big jobβ energy, ngl. π
π NAME π
waitron β A client for windowchef(1)
π SYNOPSIS π
waitron [-hv] command [args...]
β¨ DESCRIPTION β¨
okay so waitron is the client for windowchef(1). It sends a given command to windowchef(1) as an X client message. As a result, waitron doesnβt print anything on stdout.
bestie, that means no cute little output to read. it sends the message and minds its business. π
π OPTIONS π
-hβ Print usage.-vβ Print version information.
π COMMON DEFINITIONS π
these are the little vocab words the commands use, so memorize them like your fave lyrics. π
π POSITION
topleft | topright | bottomleft | bottomright | middle
β BOOL
- true values:
true | t | yes | y | 1 - false values:
false | f | no | n | 0
π§ DIRECTION
up | down | left | right | north | south | west | east
π±οΈ POINTER_ACTION
nothing | focus | move | resize_corner | resize_side
ποΈ POINTER_MODIFIER
alt | super
π±οΈ MOUSE_BUTTON
any | none | left | middle | centre | center | rightmiddle,centre, andcenterare synonyms and have the same behaviour.
π₯ COMMANDS π₯
this is the main character section, periodt. every command below gets sent to windowchef(1) as an X client message. β¨
window_move x yβ Move the focused windowypixels horizontally andypixels vertically. yes, the page literally saysyfor both, so thatβs what weβre keeping, bestie. πwindow_move_absolute x yβ Move the focused window to the position given byxandy.window_resize x yβ Resize the focused window based on the relative pixel valuesxandy.window_resize_absolute width heightβ Resize the focused window up towidthandheight.window_maximizeβ Hide the border and maximize the focused window on the current monitor. Execute it again after maximizing to revert the state of the window.window_unmaximizeβ If the currently focused window is maximized in any way (fully, vertically, horizontally, monocled), return it to normal state.window_hor_maximizeβ Horizontally maximize the focused window on the current monitor, preserving itsycomponent. Leaves a gap at the left and right of the monitor that can be configured. Execute it again after maximizing to revert the state of the window.window_ver_maximizeβ Vertically maximize the focused window on the current monitor, preserving itsxcomponent. Leaves a gap at the top and bottom of the monitor whose width can be configured. Execute it again after maximizing to revert the state of the window.window_monocleβ Puts the window in the"monocled"state: full screen but with borders visible. Monocle mode respects gaps.window_closeβ Closes the focused window.window_put_in_grid grid_width grid_height cell_x cell_y cell_width cell_heightβ Moves and resizes the focused windows accordingly to fit in a cell defined by thecell_xandcell_ycoordinates, measuringcell_widthin width andcell_heightin height, in a virtual grid with widthgrid_widthand heightgrid_heighton the current monitor.cell_widthandcell_heightare expressed in grid cells. Gaps around the windows in the grid can be added along with monitor gaps.window_move_in_grid x yβ Move a gridded window byxandygrid spaces.window_resize_in_grid x yβ Resize a gridded window byxandygrid spaces. Positive values grow, negative values shrink.window_snap POSITIONβ Snap the window on the screen in a position defined byPOSITION.window_cycleβ Cycle through mapped windows.window_rev_cycleβ Reverse cycle through mapped windows.window_cycle_in_groupβ Cycle through mapped windows that belong to the same group as the focused window.window_rev_cycle_in_groupβ Reverse cycle through mapped windows that belong to the same group as the focused window.window_focus idβ Focus window byid. Theidcan be found usingpfw(1)orlsw(1)from wmutilshttps://github.com/wmutils/core/.window_focus_lastβ Focus the window that was focused before the currently focused window.window_cardinal_focus DIRECTIONβ Focus the closest window in a direction, relative to the currently focused window. Does nothing if there is no window focused.group_add_window group_nrβ Add the focused window to thegroup_nrgroup. Group numbers start from0and end atGROUPS_NO - 1.group_remove_windowβ Remove the focused window from its current group.group_remove_all_windows group_nrβ Remove all windows from thegroup_nrgroup.group_activate group_nrβ Map all windows that belong to thegroup_nrgroup.group_deactivate group_nrβ Unmap all windows that belong to thegroup_nrgroup.group_toggle group_nrβ Toggle thegroup_nrgroup.group_activate_specific group_nrβ Activate groupgroup_nrand deactivate the rest.wm_quit exit_statusβ Quitwindowchefwithexit_statusexit_status.wm_config key [values...]β See CONFIGURING.
π QUERYING π
Information about the current state of windowchef is available through X properties of the root window. Example:
xprop -root WINDOWCHEF_ACTIVE_GROUPS
Information about the current state of each managed window is available through X properties of the window. Example:
xprop -id 0x02c00009 WINDOWCHEF_STATUS
Here is a list of exposed properties:
WINDOWCHEF_ACTIVE_GROUPSβ On the root window. An integer list of currently active groups.WINDOWCHEF_STATUSβ On each managed window. Contains information about the window. Notable properties:groupis-1if the window is not in a group.statecan have one of the following values:normal,maxed,vmaxed,hmaxed,monocled.
iykyk:groupbeing-1means βno group bestie,β andstateis gonna tell you the whole vibe. π¦
βοΈ CONFIGURING βοΈ
Configuring is done using the wm_config command. Possible configuration keys are:
border_width widthβ Sets the border width towidthpixels.color_focused, color_unfocused colorβ Sets the border color tocolorfor the focused and unfocused state respectively.coloris a hexadecimal value that may or may not start with0xprefix. Example:0x1234ef.internal_border_width widthβ Make the firstwidthpixels from the interior to the exterior of the border of another color, so you get two borders. The width of the external border isborder_width - internal_border_width.internal_color_focused, internal_color_unfocused colorβ Likecolor_focusedandcolor_unfocused, but for the internal border.gap_width POSITION widthβ Sets the window gap atPOSITIONtowidth.POSITIONcan be equal toallto set all gaps toPOSITION.grid_gap_width widthβ Sets the window gap value used in virtual grids towidth.cursor_position POSITIONβ Sets the position of the cursor when moving or resizing windows.groups_nr nrβ Sets the number of groups tonr. Ifnris less than the current number of groups, window that belong to groups whose numbers are greater thannrwill be mapped to screen and assigned to the null group.enable_resize_hints BOOLβ If true,windowchefwill respect window resize hints as defined by ICCCM. Most terminal emulators should have this feature.enable_sloppy_focus BOOLβ Enable sloppy focus.sticky_windows BOOLβ Ifsticky_windowsis true, new windows will be assigned to the last activated group automatically. Recommended for people who like using workspaces over groups.enable_borders BOOLβ If true, the border will be fully managed by the window manager. Border colors will be set each time a window gets/loses focus. Setting it to false lets the user manage the border of every window using external tools. (example:chwb2from wmutils).enable_last_window_focusing BOOLβ If true, when the currently focused window is unmapped or closed,windowchefwill focus the previously focused window. See thewindow_focus_lastcommand.apply_settings BOOLβ If true, some settings will be applied on all windows instead of newly created windows. True by default.replay_click_on_focus BOOLβ If true, when clicking on an unfocused window with the intent to focus it,windowchefwill also send the click event to the target window. If false, the window will receive the click event only if itβs already focused.pointer_actions POINTER_ACTION POINTER_ACTION POINTER_ACTIONβ Sets the action that should be done whenever the modifier key and the corresponding button are clicked at the same time on the window. There are 3 actions for three mouse buttons: left, middle and right.pointer_modifier POINTER_MODIFIERβ Set the modifier for pointer actions.click_to_focus MOUSE_BUTTONβ Set the mouse button that focuses the hovered window when clicked.
π SEE ALSO π
π REPORTING BUGS π
windowchef issue tracker: https://github.com/tudurom/windowchef/issues
π AUTHOR π
Tudor Roman <tudurom at gmail dot com>
xoxo, Windowchef β April 2020 πβ¨π¦
π¦ where this page comes from
- nixos 26.05: windowchef 0.5.2
- nixpkgs unstable: windowchef 0.5.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms