Commit graph

228 commits

Author SHA1 Message Date
Bastien Dejean
c744b74bc9 Add an option to *subscribe*: --count 2017-07-22 16:55:31 +02:00
Bastien Dejean
dacea30e21 Version 0.9.3 2017-07-14 21:01:20 +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
40cd53a9ad Fix link to Linux coding style 2017-02-10 21:53:01 +01: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
Bastien Dejean
0482a74ceb Version 0.9.2 2016-10-30 13:25:26 +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
a6aa980c26 Fix link to the K&R C book
Fixes #512.
2016-07-09 19:14:45 +02:00
Bastien Dejean
0a98de6624 Add setting: pointer_motion_interval
Fixes #482.
2016-05-28 09:43:05 +02:00
Bastien Dejean
458358723f Add current logo
Fixes #495.
2016-05-27 12:12:41 +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
f4207c1cef Add links to the Debian guide and packages 2016-05-11 09:57: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
28df617346 Update contribution instructions 2016-05-06 14:26:10 +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
8356bfb88b Fix VERSION definition in Makefile
Fixes #414
2016-03-15 17:06:25 +01:00
Bastien Dejean
fb505a1b40 Version 0.9.1 2016-03-15 10:14:20 +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
Bastien Dejean
5a9c710219 Only use characters from the ASCII charset 2016-01-02 11:16:59 +01:00
Bastien Dejean
c7364e0705 Document the optional tilde character 2016-01-02 11:13:30 +01:00
Bastien Dejean
a8c2468968 Add the --rectangle command the *monitor* domain 2015-12-30 11:36:14 +01:00
Bastien Dejean
1fe2b4179a Update TODO 2015-12-29 20:21:42 +01:00
Bastien Dejean
eb07d2fc06 Generalize window commands to nodes 2015-12-22 19:25:45 +01:00