]> git.lizzy.rs Git - bspwm.git/blobdiff - README.md
New setting: `auto_alternate`
[bspwm.git] / README.md
index ddf4753db7ef6af22b326dfbae0bad0e220c3d50..53fe4b7486f283857871db07eafa52ce74b8eef6 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,24 +1,26 @@
 ![logo](https://github.com/baskerville/bspwm/raw/master/logo/bspwm-logo.png)
 
+## Synopsis
+
+    bspwm [-v|-s STATUS_FIFO]
+
+    bspc MESSAGE [ARGUMENTS] [OPTIONS]
+
 ## Description
 
-`bspwm` is a tiling window manager based on binary space partitioning.
+`bspwm` is a tiling window manager where each window is represented as the leaf of a binary tree.
 
-The windows are represented as the leaves of a binary tree.
+It is controlled and configured via `bspc`.
 
 ## Configuration
 
 `bspwm` have only two sources of informations: the X events it receives and the messages it reads on a dedicated socket.
 
-Those messages are sent via `bspc`.
-
-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 [sxhkd](https://github.com/baskerville/sxhkd).
+Its configuration file is `$XDG_CONFIG_HOME/bspwm/autostart`.
 
-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/`.
+Keyboard and pointer bindings are defined through [sxhkd](https://github.com/baskerville/sxhkd).
 
-Example configurations: [autostart](https://github.com/baskerville/bin/blob/master/bspwm_autostart) and [sxhkdrc](https://github.com/baskerville/dotfiles/blob/master/sxhkdrc).
+Example configuration files can be found in the `examples` directory.
 
 ## Splitting Modes
 
@@ -65,12 +67,6 @@ was sent beforehand:
         |            |            |         |            |            |
         +-------------------------+         +-------------------------+
 
-## Synopsis
-
-    bspwm [-v|-s STATUS_FIFO]
-
-    bspc MESSAGE [ARGUMENTS] [OPTIONS]
-
 ## Messages
 
 The syntax for the client is `bspc MESSAGE [ARGUMENTS ...]`.
@@ -115,7 +111,7 @@ The following messages are handled:
 
 - `circulate forward|backward` — Circulate the leaves in the given direction.
 
-- `grab_pointer move|resize|focus` — Begin the specified pointer action.
+- `grab_pointer focus|move|resize_side|resize_corner` — Begin the specified pointer action.
 
 - `track_pointer ROOT_X ROOT_Y` — Pass the pointer root coordinates for the current pointer action.
 
@@ -167,17 +163,17 @@ The following messages are handled:
 
 - `cycle_layout` — Cycle the layout of the current desktop.
 
-- `rotate clockwise|counter_clockwise|full_cycle` — Rotate the tree of the current desktop.
+- `rotate clockwise|counter_clockwise|full_cycle` — Rotate the window tree.
 
-- `rule PATTERN [DESKTOP_NAME] [floating]` — Create a new rule (`PATTERN` must match the class or instance name).
+- `flip horizontal|vertical` — Flip the window tree.
 
-- `remove_rule UID ...` — Remove the rules with the given UIDs.
+- `balance` — Adjust the split ratios so that all windows occupy the same area.
 
-- `adopt_orphans` — Manage all the unmanaged windows remaining from a previous session.
+- `rule PATTERN [DESKTOP_NAME] [floating] [follow]` — Create a new rule (`PATTERN` must match the class or instance name).
 
-- `reload_autostart` — Reload the autostart file.
+- `remove_rule UID ...` — Remove the rules with the given UIDs.
 
-- `reload_settings` — Reload the default settings.
+- `adopt_orphans` — Manage all the unmanaged windows remaining from a previous session.
 
 - `restore FILE_PATH` — Restore the layout of each desktop from the content of `FILE_PATH`.
 
@@ -187,27 +183,23 @@ The following messages are handled:
 
 Colors are either [X color names](http://en.wikipedia.org/wiki/X11_color_names) or *#RRGGBB*, booleans are *true* or *false*.
 
-- `focused_border_color` — Color of the main border of a focused window of a focused monitor.
-
-- `active_border_color` — Color of the main border of a focused window of an unfocused monitor.
+- `focused_border_color` — Color of the border of a focused window of a focused monitor.
 
-- `normal_border_color` — Color of the main border of an unfocused window.
+- `active_border_color` — Color of the border of a focused window of an unfocused monitor.
 
-- `inner_border_color` — Color of the inner border of a window.
-
-- `outer_border_color` — Color of the outer border of a window.
+- `normal_border_color` — Color of the border of an unfocused window.
 
 - `presel_border_color` — Color of the `presel` message feedback.
 
-- `focused_locked_border_color` — Color of the main border of a focused locked window of a focused monitor.
+- `focused_locked_border_color` — Color of the border of a focused locked window of a focused monitor.
 
-- `active_locked_border_color` — Color of the main border of a focused locked window of an unfocused monitor.
+- `active_locked_border_color` — Color of the border of a focused locked window of an unfocused monitor.
 
-- `normal_locked_border_color` — Color of the main border of an unfocused locked window.
+- `normal_locked_border_color` — Color of the border of an unfocused locked window.
 
 - `urgent_border_color` — Color of the border of an urgent window.
 
-- `{inner,main,outer}_border_width` — Width of the inner, main and outer borders.
+- `border_width` — Window border width.
 
 - `window_gap` — Value of the gap that separates windows.
 
@@ -219,24 +211,30 @@ Colors are either [X color names](http://en.wikipedia.org/wiki/X11_color_names)
 
 - `gapless_monocle` — Whether to remove gaps for tiled windows in monocle mode.
 
-- `focus_follows_pointer` — Wether to focus the window under the pointer.
+- `focus_follows_pointer` — Whether to focus the window under the pointer.
 
 - `adaptative_raise` — Prevent floating windows from being raised when they might cover other floating windows.
 
+- `apply_shadow_property` — Enable shadows for floating windows via the `_COMPTON_SHADOW` property.
+
+- `auto_alternate` — Whether to interpret two consecutive identical `use` messages as an `alternate` message.
+
+## Environment Variables
+
+- `BSPWM_SOCKET` — The path of the socket used for the communication between `bspc` and `bspwm`.
+
 ## Key Features
 
-- Configured and controlled through messages
-- Multiple monitors support (via *Xinerama*)
-- EWMH support (`tint2` works)
-- Automatic and manual modes
-- Triple window borders
+- Configured and controlled through messages.
+- Multiple monitors support (via *Xinerama*).
+- EWMH support (`tint2` works).
+- Automatic and manual modes.
 
-## Panel
+## Panels
 
-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.).
+- A custom panel if the `-s` flag is used (have a look at the files in `examples/panel`).
+- `dzen2` fed with the output of `ewmhstatus`. Example: [launchpanel](https://github.com/baskerville/bin/blob/master/launchpanel).
 
 ## Required Libraries:
 
@@ -253,6 +251,12 @@ Multiple choices:
 
 - [Ivan Kanakarakis](https://github.com/c00kiemon5ter)
 
+- [Thomas Adam](https://github.com/ThomasAdam)
+
 ## Mailing List
 
 bspwm *at* librelist *dot* com.
+
+## License
+
+BSD.