]> git.lizzy.rs Git - bspwm.git/blob - doc/CHANGELOG.md
e7d45d32587d3a0fb14b34f2e8add708243faa7f
[bspwm.git] / doc / CHANGELOG.md
1 # From 0.9.3 to 0.9.4
2
3 ## Changes
4
5 - The following events: `node_{manage,unmanage}` are now `node_{add,remove}`.
6
7 ## Additions
8
9 - New monitor/desktop/node descriptors: `any`, `newest`.
10 - New node flag: `marked`.
11 - New monitor descriptor: `pointed`.
12 - New *wm* command: `--reorder-monitors`.
13 - Receptacles are now described in the manual.
14 - New `--follow` option added to `node -{m,d,n,s}` and `desktop -{m,s}`.
15 - The *subscribe* command now has the following options: `--fifo`, `--count`.
16 - New settings: `ignore_ewmh_fullscreen`, `mapping_events_count`.
17
18 # From 0.9.2 to 0.9.3
19
20 ## Changes
21
22 - *click_to_focus* is now a button name. Specifying a boolean is deprecated but will still work (`true` is equivalent to `button1`).
23
24 ## Additions
25
26 - `node -r` now accepts a relative fraction argument.
27 - An option was added to `query -{M,D,N}` in order to output names instead of IDs: `--names`.
28 - New rule consequence: `rectangle=WxH+X+Y`.
29 - New settings: `swallow_first_click` and `directional_focus_tightness`.
30
31 # From 0.9.1 to 0.9.2
32
33 ## Changes
34
35 - Monitors, desktops and nodes have unique IDs, `bspc query -{N,D,M}` returns IDs and events reference objects by ID instead of name.
36 - `bspc` fails verbosely and only returns a single non-zero exit code.
37 - The `DIR` descriptor is based on [right-window](https://github.com/ntrrgc/right-window).
38 - 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.)
39 - `bspc query -{N,D,M}` accepts an optional reference argument used by certain descriptors/modifiers.
40 - Monitors are ordered visually by default.
41 - The following settings: `border_width`, `window_gap` and `*_padding` behave as expected.
42 - External rules also receives the monitor, desktop and node selectors computed from the built-in rules stage as subsequent arguments.
43 - The `focus_follows_pointer` setting is implemented via enter notify events.
44
45 ## Additions
46
47 - Nodes can be hidden/shown via the new `hidden` flag.
48 - Node receptacles can be inserted with `node -i`. An example is given in `git show e8aa679`.
49 - Non-tiled nodes can be moved/resized via `node -{v,z}`.
50 - 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`.
51 - Node descriptors: `<node_id>`, `pointed`.
52 - Node modifiers: `hidden`, `descendant_of`, `ancestor_of`, `window`, `active`. Example: `bspc query -N 0x00400006 -n .descendant_of` returns the descendants of `0x00400006`.
53 - Desktop descriptor: `<desktop_id>`.
54 - Monitor descriptor: `<monitor_id>`.
55 - Settings: `pointer_motion_interval`, `pointer_modifier`, `pointer_action{1,2,3}`, `click_to_focus`, `honor_size_hints`.
56 - Event: `pointer_action`.
57 - ICCCM/EWMH atoms: `WM_STATE`, `_NET_WM_STRUT_PARTIAL`.
58 - `bspc` shell completions for `fish`.
59
60 ## Removals
61
62 - The `pointer` domain. Pointer actions are handled internally. You need to remove any binding that uses this domain from your `sxhkdrc`.
63 - Settings: `history_aware_focus`, `focus_by_distance`. Both settings are merged into the new `DIR` implementation.
64 - `monitor -r|--remove-desktops`: use `desktop -r|--remove` instead.
65 - `wm -r|--remove-monitor`: use `monitor -r|--remove` instead.
66
67 # From 0.9 to 0.9.1
68
69 ## Overview
70
71 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.
72
73 ## Changes
74
75 - All the commands that started with `window` now start with `node`.
76 - `-W|--windows`, `-w|--window`, `-w|--to-window` are now `-N|--nodes`, `-n|--node`, `-n|--to-node`.
77 - 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).
78 - The `WINDOW_SEL` becomes `NODE_SEL` and now contains a `PATH` specifier to select internal nodes.
79 - The `control` domain is renamed to `wm`.
80 - `restore -{T,H,S}` was unified into `wm -l|--load-state` and `query -{T,H,S}` into `wm -d|--dump-state`.
81 - `control --subscribe` becomes `subscribe`.
82 - `node --toggle` (previously `window --toggle`) is split into `node --state` and `node --flag`.
83 - The preselection direction (resp. ratio) is now set with `node --presel-dir|-p` (resp. `node --presel-ratio|-o`).
84 - The following desktop commands: `--rotate`, `--flip`, `--balance`, `--equalize`, `--circulate` are now node commands.
85 - `query -T ...` outputs JSON.
86 - `query -{M,D,N}`: the descriptor part of the selector is now optional (e.g.: `query -D -d .urgent`).
87 - 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.).
88 - Modifiers can now be applied to any descriptor (e.g.: `query -N -n 0x80000d.floating`).
89 - `wm -l` (previously `restore -T`) will now destroy the existing tree and restore from scratch instead of relying on existing monitors and desktops.
90 - `subscribe` (previously `control --subscribe`) now accepts arguments and can receive numerous events from different domains (see the *EVENTS* section of the manual).
91 - `rule -a`: it is now possible to specify the class name *and* instance name (e.g.: `rule -a Foo:bar`).
92 - `presel_border_color` is now `presel_feedback_color`.
93 - `bspwm -v` yields an accurate version.
94 - The monitors are sorted, by default, according to the natural visual hierarchy.
95
96 ## Additions
97
98 ### Settings
99
100 - `single_monocle`.
101 - `paddingless_monocle`.
102
103 ### Commands
104
105 - `{node,desktop} --activate`.
106 - `node --layer`.
107 - `desktop --bubble`.
108 - `wm {--add-monitor,--remove-monitor}`.
109 - `monitor --rectangle`.
110
111 ## Removals
112
113 ### Commands
114
115 - `desktop --toggle`
116 - `desktop --cancel-presel`
117 - `control --toggle-visibility`.
118
119 ### Settings
120
121 - `apply_floating_atom`.
122 - `auto_alternate`.
123 - `auto_cancel`.
124 - `focused_locked_border_color`
125 - `active_locked_border_color`
126 - `normal_locked_border_color`
127 - `focused_sticky_border_color`
128 - `active_sticky_border_color`
129 - `normal_sticky_border_color`
130 - `focused_private_border_color`
131 - `active_private_border_color`
132 - `normal_private_border_color`
133 - `urgent_border_color`
134
135 ## Message Translation Guide
136
137 0.9                                      | 0.9.1
138 -----------------------------------------|----------------------------------
139 `{left,down,up,right}`                   | `{west,south,north,east}`
140 `window -r`                              | `node -o` (`node -r` also exists)
141 `window -e DIR RATIO`                    | `node @DIR -r RATIO`
142 `window -R DIR DEG`                      | `node @DIR -R DEG`
143 `window -w`                              | `node -n`
144 `desktop DESKTOP_SEL -R DEG`             | `node @DESKTOP_SEL:/ -R DEG`
145 `desktop DESKTOP_SEL -E`                 | `node @DESKTOP_SEL:/ -E`
146 `desktop DESKTOP_SEL -B`                 | `node @DESKTOP_SEL:/ -B`
147 `desktop DESKTOP_SEL -C forward|backward`| `node @DESKTOP_SEL:/ -C forward|backward`
148 `desktop DESKTOP_SEL --cancel-presel`    | `bspc query -N -d DESKTOP_SEL | xargs -I id -n 1 bspc node id -p cancel`
149 `window -t floating`                     | `node -t ~floating`
150 `query -W -w`                            | `query -N -n .leaf`
151 `query -{T,H,S}`                         | `wm -d`
152 `restore -{T,H,S}`                       | `wm -l`