Commit graph

645 commits

Author SHA1 Message Date
Bastien Dejean
349abb230b Version 0.8 2013-08-05 14:51:26 +02:00
Bastien Dejean
28953c13aa Cosmetic improvements 2013-08-02 11:01:02 +02:00
Bastien Dejean
cf85a1d3fb Fix all the warnings produced by clang 2013-08-02 10:47:01 +02:00
Bastien Dejean
13629dbfd8 No logo 2013-07-31 18:52:02 +02:00
Bastien Dejean
8ea73754d0 Fix overlapping borders example 2013-07-31 10:12:48 +02:00
Bastien Dejean
72b8431be0 Prevent input focus from being stolen
Example: if one chromium window is opened and a link is opened in
newsbeuter then chromium will steal the input focus (without explicitly
requesting focus via the proper EWMH message).
2013-07-30 14:53:44 +02:00
Bastien Dejean
9d55f00c6b Update source dependencies 2013-07-30 14:52:46 +02:00
Bastien Dejean
302180deac List the manual/automatic modifiers in WINDOW_SEL 2013-07-30 09:26:31 +02:00
Bastien Dejean
e5c2c2524b Don't increment rule counter when failing 2013-07-30 09:23:18 +02:00
Bastien Dejean
7f4c33eec9 Check the number of arguments for all the messages 2013-07-30 09:12:39 +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
effd6a011d Fix restore --tree for the multi-monitor case 2013-07-27 15:20:24 +02:00
Bastien Dejean
9b7baf86a8 A random pointer is not a desktop 2013-07-27 14:48:28 +02:00
Bastien Dejean
e562c62b07 Only remove empty desktops 2013-07-24 14:30:02 +02:00
Bastien Dejean
07f9f2d6d5 Reject invalid ratios 2013-07-24 14:12:35 +02:00
Bastien Dejean
f77345e92c Detail the ratio domain 2013-07-23 19:26:01 +02:00
Bastien Dejean
1bd1a79f40 Don't use brace expansion in Makefile 2013-07-21 19:31:57 +02:00
Bastien Dejean
1a37d56486 Only set msg_len once 2013-07-20 22:19:58 +02:00
Bastien Dejean
5ab0261915 Merge branch 'master' of github.com:baskerville/bspwm 2013-07-20 21:24:02 +02:00
Bastien Dejean
de1aa71a37 Fix potential leak and null pointer dereference 2013-07-20 21:22:26 +02:00
Bastien Dejean
785390f576 Merge pull request #43 from Stebalien/allow-overriding-compiler
Allow overriding compiler.
2013-07-20 11:55:41 -07:00
Steven Allen
1c140d44db Allow overriding compiler. 2013-07-20 12:07:36 -04:00
Bastien Dejean
3941e01076 Optimize the last selector 2013-07-19 10:45:55 +02:00
Bastien Dejean
7606b0bb72 Add new selector modifiers: urgent and nonurgent 2013-07-19 10:13:22 +02:00
Bastien Dejean
229c3515ba Clarify the command syntax for adding rules 2013-07-16 16:51:17 +02:00
Bastien Dejean
8f8f5d8ea4 Raise focused floating window via pointer -g focus 2013-07-15 21:18:37 +02:00
Bastien Dejean
e28581baf3 Show monitor padding information via query -T 2013-07-15 20:40:29 +02:00
Bastien Dejean
44414046b9 Don't raise windows via focus_follows_pointer 2013-07-15 20:28:28 +02:00
Bastien Dejean
d99cf5fdb6 Merge pull request #39 from Stebalien/presel-modifier
Presel modifier
2013-07-14 14:20:17 -07:00
Bastien Dejean
df85ef74a8 Merge pull request #42 from Stebalien/eat-padding-arguments
Eat padding arguments.
2013-07-14 14:17:19 -07:00
Steven Allen
04919868b9 Eat padding arguments. 2013-07-14 16:45:13 -04:00
Steven Allen
d892925e51 Document mode modifier. 2013-07-14 15:48:08 -04:00
Steven Allen
a61f4a32ab Add mode modifier
Allows selecting windows based on their mode (manual/automatic).  This
is useful for duplicating the old shift-can-be-transplant behavior.

    # Usage: squish DIR
    squish() {
        dir=$1
        bspc window -w ${dir}.manual || bspc window -s ${dir}
    }
2013-07-14 15:48:08 -04:00
Bastien Dejean
74deafbf77 Remove the *_padding settings
Setting and getting the monitor padding is now handled by the `-p`
option of the monitor command.
2013-07-14 21:29:30 +02:00
Bastien Dejean
84e7ef3f4d Merge pull request #40 from Stebalien/fix-command-no-args
Don't assume command arguments.
2013-07-14 11:41:36 -07:00
Steven Allen
4783c03bd1 Don't assume command arguments. 2013-07-14 12:24:43 -04:00
Bastien Dejean
65dda6aa61 Use '--' as first argument for the set built-in
That's what dash's manual specifies.
2013-07-14 14:15:36 +02:00
Bastien Dejean
1ec141fecf Don't skip matching monitors 2013-07-14 11:09:17 +02:00
Bastien Dejean
3c037213be Merge pull request #38 from Stebalien/fix-segfaults
Don't segfault.
2013-07-14 00:56:45 -07:00
Steven Allen
87fc178945 Don't segfault.
1. Pass the correct desktop when checking if the focused desktop matches.
2. Don't assume that a last desktop exists.
2. Don't assume that a last monitor exists.
2013-07-13 18:21:16 -04:00
Bastien Dejean
e865e656ec Merge remote-tracking branch 'stebalien/apply-modifiers-to-everything' 2013-07-13 22:57:09 +02:00
Steven Allen
df89d390ec Apply modifiers to all objects
Window:
 * cycle                - no change
 * direction            - only consider matching nodes
 * last                 - walk history
 * focused              - match or NULL
 * biggest              - find biggest matching

Desktop:
 * cycle                - no change
 * focused              - match or NULL
 * last                 - match or NULL

Monitor:
 * cycle                - no change
 * direction            - only consider matching nodes
 * last                 - match or NULL
 * focused              - match or NULL
2013-07-13 16:40:37 -04:00
Bastien Dejean
587511528a Remove focus_by_distance from the completions 2013-07-13 22:34:43 +02:00
Bastien Dejean
209784dfd0 Merge pull request #36 from Stebalien/fix-monitor-selection
Call `monitor_from_desc` in `monitor -f <mon>`
2013-07-13 13:31:27 -07:00
Bastien Dejean
64cde67dc2 Remove setting: focus_by_distance
The removal is motivated by the following example:

+-------+-------+
|       |       |
|       |   b   |
|       |       |
|       |_______|
|   a   |       |
|   *   |   c   |
|       |       |
|       |_______|
|       |       |
|       |   d   |
|       |       |
+-------+-------+

Bellow is a summary of the number of steps required to reach *b*, *c* and *d* with *a* as a starting point with the associated mean and variance:

focus_by_distance         steps           mean         variance
---------------------------------------------------------------
  false                   1, 2, 3           2            2/3
  true                    2, 1, 2          5/3           2/9
2013-07-13 22:23:13 +02:00
Steven Allen
a782c1e927 Call monitor_from_desc in monitor -f <mon> 2013-07-13 16:17:59 -04:00
Bastien Dejean
84ae1acab1 Fix small typo 2013-07-13 10:31:14 +02:00
Bastien Dejean
57d4f1b00a Merge pull request #35 from Stebalien/expand-selector-documentation
Expand selector documentation
2013-07-13 01:25:32 -07:00
Bastien Dejean
86082e557d Merge pull request #34 from Stebalien/fixup-control-flags
Remove `<file_path>` arguments from control flags.
2013-07-13 01:24:54 -07:00
Bastien Dejean
1f83706ab5 Don't transplant when swapping
The new syntax provides a separate transplantation option.
2013-07-13 09:40:19 +02:00