3 bspwm \- Tiling window manager based on binary space partitioning
6 .RI [ -v | "-s STATUS_FIFO" ]
13 is a tiling window manager where each window is represented as the leaf of a binary tree. It is controlled and configured via
17 have only two sources of informations: the
19 events it receives and the messages it reads on a dedicated socket.
21 Those messages are sent via
26 environment variable is defined, it will be used as the socket path, otherwise
30 The recommended way of defining keyboard shortcuts is to use
33 The only way to configure
37 messages via the client, hence
39 configuration file is an executable called
42 .IR $XDG_CONFIG_HOME/bspwm/ .
44 There is only two splitting modes:
45 .IR automatic " and " manual .
51 mode is entered by sending a
55 Example: insertion of a new node (number 4) into the given tree in
67 +-------------------------+ +-------------------------+
71 | 3 |------------| --> | 4 |------------|
75 +-------------------------+ +-------------------------+
79 Same departure, but the mode is
83 message was sent beforehand:
92 +-------------------------+ +-------------------------+
96 | 3 |------------| --> |------------|------------|
100 +-------------------------+ +-------------------------+
106 Return the value of the given setting.
108 .BI set " SETTING VALUE"
109 Set the value of the given setting.
111 .BI list " [DESKTOP_NAME]"
112 Output the internal representation of the window tree.
114 .BI list_desktops " [--quiet]"
115 Perform a dump of each desktop for the current monitor.
117 .BI list_monitors " [--quiet]"
118 Perform a dump of each monitor.
121 Return the list of managed windows (i.e. their identifiers).
124 Return the list of rules.
126 .BI presel " left|right|up|down [SPLIT_RATIO]"
127 Switch to manual mode and select the splitting direction.
130 Switch to automatic mode.
133 Set the splitting ratio of the focused window.
135 .BI pad " MONITOR_NAME [TOP_PADDING [RIGHT_PADDING [BOTTOM_PADDING [LEFT_PADDING]]]]"
136 Set the padding of the given monitor.
138 .BI focus " left|right|up|down"
139 Focus the neighbor window situated in the given direction.
141 .BI shift " left|right|up|down"
142 Exchange the current window with the given neighbor.
145 Swap the focused window with the last focused window.
147 .BI push " left|right|up|down"
148 Push the fence located in the given direction.
150 .BI pull " left|right|up|down"
151 Pull the fence located in the given direction.
153 .BI cycle " next|prev [--skip-floating|--skip-tiled|--skip-class-equal|--skip-class-differ]"
154 Focus the next or previous window matching the given constraints.
156 .BI nearest " older|newer [--skip-floating|--skip-tiled|--skip-class-equal|--skip-class-differ]"
157 Focus the nearest window matching the given constraints.
159 .BI circulate " forward|backward"
160 Circulate the leaves in the given direction.
162 .BI grab_pointer " move|resize|focus|move_tiled|resize_tiled"
163 Begin the specified pointer action.
165 .BI track_pointer " ROOT_X ROOT_Y"
166 Pass the pointer root coordinates for the current pointer action.
169 End the current pointer action.
171 .BI toggle_fullscreen
172 Toggle the fullscreen state of the current window.
175 Toggle the floating state of the current window.
178 Toggle the locked state of the current window (locked windows will not respond to the
182 .BI toggle_visibility
183 Toggle the visibility of all the managed windows.
186 Close the focused window.
189 Kill the focused window.
191 .BI send_to " DESKTOP_NAME [--follow]"
192 Send the focused window to the given desktop.
194 .BI drop_to " next|prev [--follow]"
195 Send the focused window to the next or previous desktop.
197 .BI send_to_monitor " MONITOR_NAME [--follow]"
198 Send the focused window to the given monitor.
200 .BI drop_to_monitor " next|prev [--follow]"
201 Send the focused window to the next or previous monitor.
203 .BI use " DESKTOP_NAME"
204 Select the given desktop.
206 .BI use_monitor " MONITOR_NAME"
207 Select the given monitor.
210 Alternate between the current and the last focused window.
212 .BI alternate_desktop
213 Alternate between the current and the last focused desktop.
215 .BI alternate_monitor
216 Alternate between the current and the last focused monitor.
218 .BI add " DESKTOP_NAME ..."
219 Make new desktops with the given names.
221 .BI add_in " MONITOR_NAME DESKTOP_NAME ..."
222 Make new desktops with the given names in the given monitor.
224 .BI rename_monitor " CURRENT_NAME NEW_NAME"
225 Rename the monitor named CURRENT_NAME to NEW_NAME.
227 .BI rename " CURRENT_NAME NEW_NAME"
228 Rename the desktop named CURRENT_NAME to NEW_NAME.
230 .BI cycle_monitor " next|prev"
231 Select the next or previous monitor.
233 .BI cycle_desktop " next|prev [--skip-free|--skip-occupied]"
234 Select the next or previous desktop.
236 .BI layout " monocle|tiled [DESKTOP_NAME ...]"
237 Set the layout of the given desktops (current if none given).
240 Cycle the layout of the current desktop.
242 .BI rotate " clockwise|counter_clockwise|full_cycle"
243 Rotate the tree of the current desktop.
245 .BI rule " PATTERN [DESKTOP_NAME] [floating]"
246 Create a new rule (PATTERN must match the class or instance name).
248 .BI remove_rule " UID ..."
249 Remove the rules with the given UIDs.
252 Manage all the unmanaged windows remaining from a previous session.
255 Reload the autostart file.
258 Reload the default settings.
260 .BI restore " FILE_PATH"
261 Restore the layout of each desktop from the content of FILE_PATH.
263 .BI quit " [EXIT_STATUS]"
275 .IR "true " "or " false .
277 .I focused_border_color
278 Color of the border of a focused window of a focused monitor.
280 .I active_border_color
281 Color of the border of a focused window of an unfocused monitor.
283 .I normal_border_color
284 Color of the border of an unfocused window.
286 .I presel_border_color
291 .I focused_locked_border_color
292 Color of the border of a focused locked window of a focused monitor.
294 .I active_locked_border_color
295 Color of the border of a focused locked window of an unfocused monitor.
297 .I normal_locked_border_color
298 Color of the border of an unfocused locked window.
300 .I urgent_border_color
301 Color of the border of an urgent window.
307 Value of the gap that separates windows.
316 Padding space added at the sides of the current monitor.
319 The value that shall be used for the
321 property of the root window.
323 .I borderless_monocle
324 Whether to remove borders for tiled windows in monocle mode.
327 Whether to remove gaps for tiled windows in monocle mode.
329 .I focus_follows_pointer
330 Wether to focus the window under the pointer.
333 Prevent floating windows from being raised when they might cover other floating windows.
335 .I apply_shadow_property
336 Enable shadows for floating windows via the
341 If the distance to the nearest fence is greater than
345 action will not be engaged.
348 Bastien Dejean <baskerville at lavabit.com>
351 Ivan Kanakarakis <ivan.kanak at gmail.com>
355 https://github.com/baskerville/bspwm
358 bspwm at librelist.com