]> git.lizzy.rs Git - bspwm.git/blob - doc/CHANGELOG.md
Add rule consequence: rectangle
[bspwm.git] / doc / CHANGELOG.md
1 # From 0.9.1 to 0.9.2
2
3 ## Changes
4
5 - Monitors, desktops and nodes have unique IDs, `bspc query -{N,D,M}` returns IDs and events reference objects by ID instead of name.
6 - `bspc` fails verbosely and only returns a single non-zero exit code.
7 - The `DIR` descriptor is based on [right-window](https://github.com/ntrrgc/right-window).
8 - The `CYCLE_DIR` descriptor isn't limited to the current desktop/monitor anymore. (You can emulate the previous behavior by appending a `.local` modifier to the selector.)
9 - `bspc query -{N,D,M}` accepts an optional reference argument used by certain descriptors/modifiers.
10 - Monitors are ordered visually by default.
11 - The following settings: `border_width`, `window_gap` and `*_padding` behave as expected.
12 - External rules also receives the monitor, desktop and node selectors computed from the built-in rules stage as subsequent arguments.
13 - The `focus_follows_pointer` setting is implemented via enter notify events.
14
15 ## Additions
16
17 - Nodes can be hidden/shown via the new `hidden` flag.
18 - Node receptacles can be inserted with `node -i`. An example is given in `git show e8aa679`.
19 - Non-tiled nodes can be moved/resized via `node -{v,z}`.
20 - The reference of a selector can be set via the `{NODE,DESKTOP,MONITOR}_SEL#` prefix, example: `bspc node 0x0080000c#south -c` will close the node at the south of `0x0080000c`.
21 - Node descriptors: `<node_id>`, `pointed`.
22 - Node modifiers: `hidden`, `descendant_of`, `ancestor_of`, `window`, `active`. Example: `bspc query -N 0x00400006 -n .descendant_of` returns the descendants of `0x00400006`.
23 - Desktop descriptor: `<desktop_id>`.
24 - Monitor descriptor: `<monitor_id>`.
25 - Settings: `pointer_motion_interval`, `pointer_modifier`, `pointer_action{1,2,3}`, `click_to_focus`, `honor_size_hints`.
26 - Event: `pointer_action`.
27 - ICCCM/EWMH atoms: `WM_STATE`, `_NET_WM_STRUT_PARTIAL`.
28 - `bspc` shell completions for `fish`.
29
30 ## Removals
31
32 - The `pointer` domain. Pointer actions are handled internally. You need to remove any binding that uses this domain from your `sxhkdrc`.
33 - Settings: `history_aware_focus`, `focus_by_distance`. Both settings are merged into the new `DIR` implementation.
34 - `monitor -r|--remove-desktops`: use `desktop -r|--remove` instead.
35 - `wm -r|--remove-monitor`: use `monitor -r|--remove` instead.
36
37 # From 0.9 to 0.9.1
38
39 ## Overview
40
41 All the commands that acted on leaves can now be applied on internal nodes (including focusing and preselection). Consequently, the *window* domain is now a *node* domain. Please note that some commands are applied to the leaves of the tree rooted at the selected node and not to the node itself.
42
43 ## Changes
44
45 - All the commands that started with `window` now start with `node`.
46 - `-W|--windows`, `-w|--window`, `-w|--to-window` are now `-N|--nodes`, `-n|--node`, `-n|--to-node`.
47 - We now use cardinal directions: `west,south,north,east` instead of `left,down,up,right` (in fact the latter is just plain wrong: the `up,down` axis is perpendicular to the screen).
48 - The `WINDOW_SEL` becomes `NODE_SEL` and now contains a `PATH` specifier to select internal nodes.
49 - The `control` domain is renamed to `wm`.
50 - `restore -{T,H,S}` was unified into `wm -l|--load-state` and `query -{T,H,S}` into `wm -d|--dump-state`.
51 - `control --subscribe` becomes `subscribe`.
52 - `node --toggle` (previously `window --toggle`) is split into `node --state` and `node --flag`.
53 - The preselection direction (resp. ratio) is now set with `node --presel-dir|-p` (resp. `node --presel-ratio|-o`).
54 - The following desktop commands: `--rotate`, `--flip`, `--balance`, `--equalize`, `--circulate` are now node commands.
55 - `query -T ...` outputs JSON.
56 - `query -{M,D,N}`: the descriptor part of the selector is now optional (e.g.: `query -D -d .urgent`).
57 - Many new modifiers were added, some were renamed. The opposite of a modifier is now expressed with the `!` prefix (e.g.: `like` becomes `same_class`, `unlike` becomes `!same_class`, etc.).
58 - Modifiers can now be applied to any descriptor (e.g.: `query -N -n 0x80000d.floating`).
59 - `wm -l` (previously `restore -T`) will now destroy the existing tree and restore from scratch instead of relying on existing monitors and desktops.
60 - `subscribe` (previously `control --subscribe`) now accepts arguments and can receive numerous events from different domains (see the *EVENTS* section of the manual).
61 - `rule -a`: it is now possible to specify the class name *and* instance name (e.g.: `rule -a Foo:bar`).
62 - `presel_border_color` is now `presel_feedback_color`.
63 - `bspwm -v` yields an accurate version.
64 - The monitors are sorted, by default, according to the natural visual hierarchy.
65
66 ## Additions
67
68 ### Settings
69
70 - `single_monocle`.
71 - `paddingless_monocle`.
72
73 ### Commands
74
75 - `{node,desktop} --activate`.
76 - `node --layer`.
77 - `desktop --bubble`.
78 - `wm {--add-monitor,--remove-monitor}`.
79 - `monitor --rectangle`.
80
81 ## Removals
82
83 ### Commands
84
85 - `desktop --toggle`
86 - `desktop --cancel-presel`
87 - `control --toggle-visibility`.
88
89 ### Settings
90
91 - `apply_floating_atom`.
92 - `auto_alternate`.
93 - `auto_cancel`.
94 - `focused_locked_border_color`
95 - `active_locked_border_color`
96 - `normal_locked_border_color`
97 - `focused_sticky_border_color`
98 - `active_sticky_border_color`
99 - `normal_sticky_border_color`
100 - `focused_private_border_color`
101 - `active_private_border_color`
102 - `normal_private_border_color`
103 - `urgent_border_color`
104
105 ## Message Translation Guide
106
107 0.9                                      | 0.9.1
108 -----------------------------------------|----------------------------------
109 `{left,down,up,right}`                   | `{west,south,north,east}`
110 `window -r`                              | `node -o` (`node -r` also exists)
111 `window -e DIR RATIO`                    | `node @DIR -r RATIO`
112 `window -R DIR DEG`                      | `node @DIR -R DEG`
113 `window -w`                              | `node -n`
114 `desktop DESKTOP_SEL -R DEG`             | `node @DESKTOP_SEL:/ -R DEG`
115 `desktop DESKTOP_SEL -E`                 | `node @DESKTOP_SEL:/ -E`
116 `desktop DESKTOP_SEL -B`                 | `node @DESKTOP_SEL:/ -B`
117 `desktop DESKTOP_SEL -C forward|backward`| `node @DESKTOP_SEL:/ -C forward|backward`
118 `desktop DESKTOP_SEL --cancel-presel`    | `bspc query -N -d DESKTOP_SEL | xargs -I id -n 1 bspc node id -p cancel`
119 `window -t floating`                     | `node -t ~floating`
120 `query -W -w`                            | `query -N -n .leaf`
121 `query -{T,H,S}`                         | `wm -d`
122 `restore -{T,H,S}`                       | `wm -l`