Commit graph

22 commits

Author SHA1 Message Date
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
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
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
eb07d2fc06 Generalize window commands to nodes 2015-12-22 19:25:45 +01:00
Vrakfall
400cb3af69 Loads sxhkd at bspwm startup. 2015-11-09 02:55:14 +01:00
Bastien Dejean
f28f33448f Make a clear distinction between states and flags 2015-11-05 14:00:49 +01:00
Bastien Dejean
d85d3133f9 Reinstate focus_by_distance setting 2014-07-18 19:21:58 +02:00
Bastien Dejean
85d5b015b1 Reset desktop settings via monitor -d 2014-05-09 20:32:15 +02:00
Bastien Dejean
188b45b74a Use appropriate shell function name 2014-05-09 15:12:03 +02:00
Bastien Dejean
fcc7405284 Update example bspwmrc for current settings 2014-05-09 12:31:07 +02:00
Bastien Dejean
cd97a3290a Reinstate the *rule* command
External rules are truly optional. At last.
2013-12-12 14:38:48 +01:00
Bastien Dejean
a2311c3df4 Enhance external rules example scripts 2013-11-16 12:34:22 +01:00
Bastien Dejean
1e6f5242d7 Use commas in rule examples 2013-11-10 13:50:13 +01:00
Bastien Dejean
4451d8f0e7 Asynchronously parse rule command output 2013-11-08 20:31:23 +01:00
Bastien Dejean
948b8046f7 Externalize rules 2013-11-05 20:09:24 +01:00
Bastien Dejean
a76c52e3d7 Rename, add or remove desktops with monitor -d 2013-10-01 23:14:57 +02:00
Bastien Dejean
83959ccb8c Keep example configuration straightforward 2013-09-15 16:01:05 +02:00
Bastien Dejean
c60a149506 Enhance examples 2013-09-15 12:47:07 +02:00
Bastien Dejean
2f4c9e9fd4 New option for bspwm: -c
In addition, the path of the default configuration file has changed.
2013-07-29 10:27:04 +02:00
Bastien Dejean
3c52a8f055 Removed obsolete examples 2012-09-10 13:51:22 +02:00
baskerville
8f920ecabb slight restructuration 2012-08-04 21:24:47 +02:00
baskerville
d7e5683d04 allocate memory for strings 2012-08-01 12:25:18 +02:00