If the `BSPWM_SOCKET` environment variable is defined, it will be used as the socket path, otherwise `/tmp/bspwm-socket` is used.
-The recommended way of defining keyboard shortcuts is to use `xbindkeys`.
+The recommended way of defining keyboard shortcuts is to use `shkd` or `xbindkeys`.
The only way to configure `bspwm` is by sending *set* messages via the client, hence `bspwm`'s configuration file is an executable called `autostart` which lives in `$XDG_CONFIG_HOME/bspwm/`.
| | | | | |
+-------------------------+ +-------------------------+
+## Synopsis
+
+ bspwm [-v|-s STATUS_FIFO]
+
+ bspc MESSAGE [ARGUMENTS] [OPTIONS]
+
## Messages
The syntax for the client is `bspc MESSAGE [ARGUMENTS ...]`.
list_windows
Return the list of managed windows (i.e. their identifiers).
- presel left|right|up|down
+ list_rules
+ Return the list of rules.
+
+ presel left|right|up|down [SPLIT_RATIO]
Switch to manual mode and select the splitting direction.
cancel
ratio VALUE
Set the splitting ratio of the focused window.
+ pad MONITOR_NAME [TOP_PADDING [RIGHT_PADDING [BOTTOM_PADDING [LEFT_PADDING]]]]
+ Set the padding of the given monitor.
+
focus left|right|up|down
Focus the neighbor window situated in the given direction.
toggle_locked
Toggle the locked state of the current window (locked windows will not respond to the 'close' message).
+ toggle_visibility
+ Toggle the visibility of all the managed windows.
+
close
Close the focused window.
kill
Kill the focused window.
- send_to DESKTOP_NAME
+ send_to DESKTOP_NAME [--follow]
Send the focused window to the given desktop.
- send_to_monitor MONITOR_NAME
+ send_to_monitor MONITOR_NAME [--follow]
Send the focused window to the given monitor.
use DESKTOP_NAME
reload_settings
Reload the default settings.
- reload
- Reload the autostart file and the default settings.
-
- quit
+ quit [EXIT_STATUS]
Quit.
## Settings
window_gap
Value of the gap that separates windows.
- top_padding
- bottom_padding
- left_padding
- right_padding
- Padding space added at the sides of the screen.
+ {top,right,bottom,left}_padding
+ Padding space added at the sides of the current monitor.
wm_name
The value that shall be used for the _NET_WM_NAME property of the root window.
focus_follows_mouse
Wether to focus the window under the mouse pointer.
+ adaptative_raise
+ Prevent floating windows from being raised when they might cover other floating windows.
+
## Mouse Bindings
button_modifier + left mouse button
## Panel
-`dzen2` fed with the output of `ewmhstatus`. Example: [launchpanel](https://github.com/baskerville/bin/blob/master/launchpanel).
-
-Or any EWMH compliant panel.
+Multiple choices:
+- `dzen2` fed with the output of `ewmhstatus`. Example: [launchpanel](https://github.com/baskerville/bin/blob/master/launchpanel).
+- A custom panel if the `-s` flag is used (have a look at the files in `examples/`).
+- Any EWMH compliant panel (e.g. `tint2`, `bmpanel2`, etc.).
## Required Libraries:
## Contributors
- [Ivan Kanakarakis](https://github.com/c00kiemon5ter)
+
+## Mailing List
+
+bspwm *at* librelist *dot* com.