Commit graph

63 commits

Author SHA1 Message Date
Bastien Dejean
8d96affaf4 Add monitor/desktop/node descriptor: any 2018-03-07 14:14:48 +01:00
Bastien Dejean
d0138af475 Add newest descriptor and marked node flag 2018-03-07 12:01:58 +01:00
Bastien Dejean
09ad6cfd50 Define the term *receptacle*
Fixes #768.
2018-02-04 12:00:21 +01:00
Bastien Dejean
cba737e778 Make following optional
Fixes #758.
2018-01-14 22:32:11 +01:00
Bastien Dejean
49caeb8ce8 Pass intermediate conseq. as arg. to ext. rules
Inside the external rules script, `eval "$4"` provides a convenient way
of accessing the current values.
2017-09-29 11:19:53 +02:00
Bastien Dejean
614a56b753 Add a special raw name selector
Fixes #704.
2017-09-08 21:23:53 +02:00
Justinien Bouron
41dc94f63c Add new monitor selector : pointed. 2017-08-24 21:04:23 +02:00
Bastien Dejean
15b39f1834 Mention forbidden characters 2017-08-22 12:03:23 +02:00
Bastien Dejean
7ff9c88727 Carefully describe the desktop index descriptor 2017-08-21 10:13:06 +02:00
Bastien Dejean
b4c470784d Add wm command: --reorder-monitors 2017-07-30 14:48:03 +02:00
Bastien Dejean
01ad5c5c49 Prevent invalid use of query's --names option 2017-07-25 20:45:18 +02:00
Bastien Dejean
196610445c Rename node_{manage,unmanage} to node_{add,remove}
To be consistent with the other *_{add,remove} events.

The insertion point is also now given in third position, because it is
part of the coordinates.
2017-07-24 20:39:10 +02:00
Bastien Dejean
9ea4b012ac Add an option to *subscribe*: --fifo 2017-07-24 20:28:22 +02:00
Bastien Dejean
5cf8280033 Improve *subscribe*'s documentation 2017-07-23 10:33:15 +02:00
Bastien Dejean
c744b74bc9 Add an option to *subscribe*: --count 2017-07-22 16:55:31 +02:00
Bastien Dejean
0a9b6153af *click_to_focus* is now a button name
Booleans are deprecated but still accepted.
2017-07-12 10:33:51 +02:00
Justinien Bouron
c3cc414b6e Add rule consequence: rectangle 2017-06-12 09:48:17 +02:00
Bastien Dejean
fff172e5ca Add setting: directional_focus_tightness 2017-06-04 10:25:11 +02:00
Olmo Kramer
cdb70b8f34 Allow (+|-)fraction in "node --ratio" command 2017-01-30 17:43:56 +01:00
Daniel Lublin
ada559d2aa doc: Relate presel direction to insertion mode 2016-12-21 20:53:01 +01:00
Bastien Dejean
7404946e33 Add setting: swallow_first_click 2016-11-17 18:07:26 +01:00
Nathan Isom
dc4372f152 Remove rule key implication from config command. 2016-11-14 11:27:27 +01:00
Bastien Dejean
eb483bbe12 Fix the description of DESKTOP_SEL's .local 2016-11-12 10:35:25 +01:00
Bastien Dejean
73be87d104 Add the --names option to the query domain
Fixes #562.
2016-11-04 10:28:24 +01:00
Thilo Wischmeyer
8664c007e4 Add an event for pointer actions
Fixes #536.
2016-09-30 21:39:06 +02:00
Bastien Dejean
ccddf1231d Add node modifier: active 2016-09-22 22:30:38 +02:00
Bastien Dejean
0a98de6624 Add setting: pointer_motion_interval
Fixes #482.
2016-05-28 09:43:05 +02:00
Bastien Dejean
a4a3edae7a Provide computed selectors for the external rules
It might be useful to know what the computed monitor, desktop and node
consequences of the built-in phase are when we enter the external phase
of the rule processing mechanism.
2016-05-24 16:32:40 +02:00
Bastien Dejean
5392a84a40 Provide a way to disable built-in pointer bindings
Fixes #490.
2016-05-21 21:31:14 +02:00
Bastien Dejean
319566e4af Accept an optional reference in all the selectors
Fixes #486.
2016-05-20 11:41:36 +02:00
Bastien Dejean
1e98b9116a Don't use a domain target as reference
Otherwise, the behavior of, for example, `desktop prev -s next` is
unexpected.
2016-05-09 18:43:03 +02:00
Bastien Dejean
e471298d0a Add node modifiers: {descendant,ancestor}_of
Fixes #473.
2016-05-09 16:55:31 +02:00
Bastien Dejean
a7821774c5 Mention the default reference 2016-05-09 13:37:45 +02:00
Bastien Dejean
c32f30aa7e Remove setting: history_aware_focus
The new implementation of the DIR descriptor is based on
[right-window](https://github.com/ntrrgc/right-window).

Fixes #467.
2016-04-28 10:33:30 +02:00
Bastien Dejean
57b12d8f47 Remove setting: focus_by_distance
Unfortunately nearest_from_tree is rather useless because it can't skip
vacant or receptacle nodes.

Therefore, *focus_by_distance* is now the default.
2016-04-21 10:45:05 +02:00
Bastien Dejean
be7376964c Add node descriptor: pointed
Fixes #456.
2016-04-19 20:49:22 +02:00
Bastien Dejean
331cc9e2d5 Add node flag: hidden
Fixes #229.
2016-04-16 18:13:31 +02:00
Bastien Dejean
71a2fb91b0 Allow multiple constraints for the *query* domain
Example:
    bspc query -N -d '^3' -n .window

The above command will list the IDs of the windows of the third desktop.
2016-04-14 23:15:58 +02:00
Bastien Dejean
265aa0ecdb Mention pointer_action<n> where it makes sense 2016-04-10 22:24:25 +02:00
Campbell Barton
81e5e72fa2 Make mouse button actions configurable
Previously this was possible via key bindings, since this operation was removed,
its useful to be able to configure which mouse keys do what.

This example swaps LMB/RMB

```
bspc config pointer_action1 resize_corner
bspc config pointer_action3 move
```
2016-04-11 06:03:50 +10:00
Bastien Dejean
12edac86fa Reinstate built-in pointer bindings 2016-04-07 18:08:32 +02:00
Bastien Dejean
e8aa679cd1 Introduce receptacles
A receptacle is an unfocusable empty leaf node.

Receptacles are used for building a tree without creating windows.

Example:

    bspc node -i
    bspc node @/ -p east -i
    bspc node @/2 -p north -i

    bspc rule -a Abc:abc -o node=@/1
    bspc rule -a Ijk:ijk -o node=@/2/1
    bspc rule -a Xyz:xyz -o node=@/2/2

Fixes #259.
2016-03-26 11:47:17 +01:00
Bastien Dejean
ebad909ed1 Fail verbosely
Along the way, we also fixed the handling of the `*_padding`,
`window_gap` and `border_width` settings. The previous behavior was the
result of a bad decision (9fed780), as a response to #141. Many issues
followed: #143, #158, #260, etc. We now handle those settings as
intuitively as possible.

We also fixed a potential segfault in `cmd_node`, triggered by `bspc
node -d`[sic].

Fixes #402 #252.
2016-03-21 14:28:04 +01:00
Bastien Dejean
1e3b13465b Fix handling of ID/name frictions
It seems that `resource_base_id` isn't the lower bound of the set of
possible IDs.
2016-03-20 10:38:11 +01:00
Bastien Dejean
9ae96ebdcd Add IDs to desktops and monitors
There's no constraints on desktop and monitor names, therefore, using a
desktop or monitor name as descriptor is ambiguous.

We put an end to this ambiguity by introducing desktop and monitor IDs.

`bspc query -{M,D}` now yields IDs instead of names.

Fixes #397.
2016-03-16 15:15:27 +01:00
Bastien Dejean
ed76b1f8a7 Use the term DESKTOP_SEL consistently 2016-02-22 20:47:57 +01:00
Bastien Dejean
b973353a7d Add event: monitor_swap 2016-02-01 11:46:03 +01:00
Bastien Dejean
b1d96531c4 Add global setting: *paddingless_monocle*
Fixes #365.
2016-01-10 18:29:51 +01:00
Nathan Isom
f53950fd39 window --> node 2016-01-03 17:57:40 -06:00
Bastien Dejean
f382bbafd8 Fix misinterpreted asterisk in rule syntax 2016-01-02 11:31:46 +01:00