]> git.lizzy.rs Git - bspwm.git/log
bspwm.git
10 years agoAdd monitor padding settings
Bastien Dejean [Sun, 15 Sep 2013 09:51:12 +0000 (11:51 +0200)]
Add monitor padding settings

10 years agoRestore split direction
Bastien Dejean [Sat, 14 Sep 2013 10:17:22 +0000 (12:17 +0200)]
Restore split direction

10 years agoNew option for the `rule` command: `--unmanage`
Bastien Dejean [Fri, 13 Sep 2013 09:57:59 +0000 (11:57 +0200)]
New option for the `rule` command: `--unmanage`

This is useful for clients similar to Screenkey.

10 years agoAdd LightDM examples
Bastien Dejean [Thu, 12 Sep 2013 20:14:29 +0000 (22:14 +0200)]
Add LightDM examples

Thanks @aoba.

10 years agoDon't document a non existent setting
Bastien Dejean [Thu, 12 Sep 2013 17:26:28 +0000 (19:26 +0200)]
Don't document a non existent setting

10 years agoStack in terms of relative actions
Bastien Dejean [Thu, 12 Sep 2013 14:26:01 +0000 (16:26 +0200)]
Stack in terms of relative actions

This rewrite is based on a TODO comment for the *stack_refresh*
function of *awesome*:
    It might be worth stopping to restack everyone and only stack `c'
    relatively to the first matching in the list.

And on the concept of relative stacking (via XDG_CONFIG_WINDOW_SIBLING).

Additionally the `adaptative_raise` setting was removed because it
became obsolete when the choice was made of not raising windows when
focusing via `focus_follows_pointer`.

Windows of type *desktop* are now supported (but not managed).

10 years ago*window_gap* is now a desktop setting
Bastien Dejean [Wed, 11 Sep 2013 19:19:59 +0000 (21:19 +0200)]
*window_gap* is now a desktop setting

The *config* command was generalized to handle desktop and monitor
settings.

10 years agoFix warnings
Bastien Dejean [Wed, 11 Sep 2013 17:35:52 +0000 (19:35 +0200)]
Fix warnings

10 years agoFix small typo
Bastien Dejean [Wed, 11 Sep 2013 17:30:06 +0000 (19:30 +0200)]
Fix small typo

10 years agoExhaustively update EWMH desktops
Bastien Dejean [Wed, 11 Sep 2013 10:19:03 +0000 (12:19 +0200)]
Exhaustively update EWMH desktops

10 years agoConsolidate `restore --tree`
Bastien Dejean [Tue, 10 Sep 2013 19:24:29 +0000 (21:24 +0200)]
Consolidate `restore --tree`

10 years agoUpdate EWMH desktop indexes when swapping
Bastien Dejean [Tue, 10 Sep 2013 13:05:50 +0000 (15:05 +0200)]
Update EWMH desktop indexes when swapping

10 years agoFix missing tail/head assignment in swap_*
Bastien Dejean [Tue, 10 Sep 2013 12:46:05 +0000 (14:46 +0200)]
Fix missing tail/head assignment in swap_*

10 years agoMove completions to `contrib`
Bastien Dejean [Tue, 10 Sep 2013 11:46:59 +0000 (13:46 +0200)]
Move completions to `contrib`

10 years agoAdd a `--swap` option to the `desktop` command
Bastien Dejean [Tue, 10 Sep 2013 09:45:46 +0000 (11:45 +0200)]
Add a `--swap` option to the `desktop` command

10 years agoKeep the *name* section straightforward
Bastien Dejean [Tue, 10 Sep 2013 09:17:54 +0000 (11:17 +0200)]
Keep the *name* section straightforward

10 years agoFactorize client message sending
Bastien Dejean [Tue, 10 Sep 2013 08:39:25 +0000 (10:39 +0200)]
Factorize client message sending

10 years agoInternal state output syntax overhaul
Bastien Dejean [Mon, 9 Sep 2013 21:13:51 +0000 (23:13 +0200)]
Internal state output syntax overhaul

10 years agoAdd a `--swap` option to the `monitor` command
Bastien Dejean [Mon, 9 Sep 2013 20:27:27 +0000 (22:27 +0200)]
Add a `--swap` option to the `monitor` command

10 years agoHandle the primary monitor
Bastien Dejean [Mon, 9 Sep 2013 13:25:26 +0000 (15:25 +0200)]
Handle the primary monitor

10 years agoDon't trust WM_PROTOCOLS
Bastien Dejean [Sat, 7 Sep 2013 08:14:14 +0000 (10:14 +0200)]
Don't trust WM_PROTOCOLS

Some clients (e.g.: Skype), have WM_TAKE_FOCUS in their WM_PROTOCOLS but
don't respond to it.

10 years agoRevert "Don't trust WM_PROTOCOLS"
Bastien Dejean [Fri, 6 Sep 2013 09:02:50 +0000 (11:02 +0200)]
Revert "Don't trust WM_PROTOCOLS"

This reverts commit 2bfaefa08f9db1eede1ee38c63f1f79568246a55.

10 years agoDon't trust WM_PROTOCOLS
Bastien Dejean [Fri, 6 Sep 2013 08:53:31 +0000 (10:53 +0200)]
Don't trust WM_PROTOCOLS

10 years agoImplement ICCCM's WM_TAKE_FOCUS behavior
Bastien Dejean [Thu, 5 Sep 2013 13:37:54 +0000 (15:37 +0200)]
Implement ICCCM's WM_TAKE_FOCUS behavior

Additionally, the `apply_shadow_property` was renamed to
`apply_floating_atom`.

10 years agoRemove setting: `wm_name`
Bastien Dejean [Thu, 5 Sep 2013 09:09:24 +0000 (11:09 +0200)]
Remove setting: `wm_name`

The above setting's purpose was to replace `wmname` but it appears that
it can't be done without violating the EWMH standards and creating bad
side effects.

10 years agoCompute colors on the fly
Bastien Dejean [Wed, 4 Sep 2013 19:57:26 +0000 (21:57 +0200)]
Compute colors on the fly

When drawing window borders, we must consider the color map of the
window to compute the correct color *pixel*.

10 years agoUse .profile instead of .pam_environment
Bastien Dejean [Wed, 4 Sep 2013 10:23:09 +0000 (12:23 +0200)]
Use .profile instead of .pam_environment

We will wait until the wide adoption of .pam_environment.

10 years agoAdd index selector for desktops and monitors
Bastien Dejean [Mon, 2 Sep 2013 19:03:59 +0000 (21:03 +0200)]
Add index selector for desktops and monitors

10 years agoInitially give focus to the root window
Bastien Dejean [Fri, 30 Aug 2013 21:37:53 +0000 (23:37 +0200)]
Initially give focus to the root window

See http://lists.suckless.org/dev/1308/17428.html.

10 years agoKeep the real wm name on the supporting window
Bastien Dejean [Fri, 30 Aug 2013 12:00:02 +0000 (14:00 +0200)]
Keep the real wm name on the supporting window

10 years agoSupport _NET_SUPPORTING_WM_CHECK
Bastien Dejean [Fri, 30 Aug 2013 09:46:57 +0000 (11:46 +0200)]
Support _NET_SUPPORTING_WM_CHECK

10 years agoFocus a monitor with an empty focused desktop
Bastien Dejean [Thu, 29 Aug 2013 09:45:50 +0000 (11:45 +0200)]
Focus a monitor with an empty focused desktop

10 years agoRestore the split mode of nodes
Bastien Dejean [Thu, 29 Aug 2013 09:22:02 +0000 (11:22 +0200)]
Restore the split mode of nodes

10 years agoUpdate examples
Bastien Dejean [Wed, 28 Aug 2013 21:17:03 +0000 (23:17 +0200)]
Update examples

10 years agoRotate the given edge, not the brother subtree
Bastien Dejean [Wed, 28 Aug 2013 10:56:04 +0000 (12:56 +0200)]
Rotate the given edge, not the brother subtree

10 years agoAdd a `--rotate` option to the `window` command
Bastien Dejean [Tue, 27 Aug 2013 21:48:50 +0000 (23:48 +0200)]
Add a `--rotate` option to the `window` command

10 years agoDetail the default socket path
Bastien Dejean [Sun, 18 Aug 2013 19:21:11 +0000 (21:21 +0200)]
Detail the default socket path

10 years agoAdd Zsh completion
Bastien Dejean [Fri, 16 Aug 2013 09:59:09 +0000 (11:59 +0200)]
Add Zsh completion

10 years agoDon't try to transplant a node on itself
Bastien Dejean [Mon, 12 Aug 2013 21:22:48 +0000 (23:22 +0200)]
Don't try to transplant a node on itself

10 years agoFail when there's no edge in all cases
Bastien Dejean [Sat, 10 Aug 2013 17:37:49 +0000 (19:37 +0200)]
Fail when there's no edge in all cases

10 years agoAdd example binding for window transplantation
Bastien Dejean [Tue, 6 Aug 2013 13:13:22 +0000 (15:13 +0200)]
Add example binding for window transplantation

10 years agoThe vim file type comment is not needed anymore
Bastien Dejean [Tue, 6 Aug 2013 10:08:44 +0000 (12:08 +0200)]
The vim file type comment is not needed anymore

10 years agoAdd an option to `rule -a`: `--focus`
Bastien Dejean [Tue, 6 Aug 2013 09:26:51 +0000 (11:26 +0200)]
Add an option to `rule -a`: `--focus`

10 years agoVersion 0.8
Bastien Dejean [Mon, 5 Aug 2013 12:51:26 +0000 (14:51 +0200)]
Version 0.8

10 years agoCosmetic improvements
Bastien Dejean [Fri, 2 Aug 2013 09:01:02 +0000 (11:01 +0200)]
Cosmetic improvements

10 years agoFix all the warnings produced by clang
Bastien Dejean [Fri, 2 Aug 2013 08:47:01 +0000 (10:47 +0200)]
Fix all the warnings produced by clang

10 years agoNo logo
Bastien Dejean [Wed, 31 Jul 2013 16:52:02 +0000 (18:52 +0200)]
No logo

10 years agoFix overlapping borders example
Bastien Dejean [Wed, 31 Jul 2013 08:12:48 +0000 (10:12 +0200)]
Fix overlapping borders example

10 years agoPrevent input focus from being stolen
Bastien Dejean [Tue, 30 Jul 2013 12:53:44 +0000 (14:53 +0200)]
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).

10 years agoUpdate source dependencies
Bastien Dejean [Tue, 30 Jul 2013 12:52:46 +0000 (14:52 +0200)]
Update source dependencies

10 years agoList the manual/automatic modifiers in WINDOW_SEL
Bastien Dejean [Tue, 30 Jul 2013 07:26:31 +0000 (09:26 +0200)]
List the manual/automatic modifiers in WINDOW_SEL

10 years agoDon't increment rule counter when failing
Bastien Dejean [Tue, 30 Jul 2013 07:23:18 +0000 (09:23 +0200)]
Don't increment rule counter when failing

10 years agoCheck the number of arguments for all the messages
Bastien Dejean [Tue, 30 Jul 2013 07:12:39 +0000 (09:12 +0200)]
Check the number of arguments for all the messages

10 years agoNew option for `bspwm`: `-c`
Bastien Dejean [Mon, 29 Jul 2013 08:27:04 +0000 (10:27 +0200)]
New option for `bspwm`: `-c`

In addition, the path of the default configuration file has changed.

10 years agoFix `restore --tree` for the multi-monitor case
Bastien Dejean [Sat, 27 Jul 2013 13:16:18 +0000 (15:16 +0200)]
Fix `restore --tree` for the multi-monitor case

10 years agoA random pointer is not a desktop
Bastien Dejean [Sat, 27 Jul 2013 12:48:28 +0000 (14:48 +0200)]
A random pointer is not a desktop

10 years agoOnly remove empty desktops
Bastien Dejean [Wed, 24 Jul 2013 12:30:02 +0000 (14:30 +0200)]
Only remove empty desktops

10 years agoReject invalid ratios
Bastien Dejean [Wed, 24 Jul 2013 12:12:35 +0000 (14:12 +0200)]
Reject invalid ratios

10 years agoDetail the ratio domain
Bastien Dejean [Tue, 23 Jul 2013 17:26:01 +0000 (19:26 +0200)]
Detail the ratio domain

10 years agoDon't use brace expansion in Makefile
Bastien Dejean [Sun, 21 Jul 2013 17:31:57 +0000 (19:31 +0200)]
Don't use brace expansion in Makefile

10 years agoOnly set `msg_len` once
Bastien Dejean [Sat, 20 Jul 2013 20:19:58 +0000 (22:19 +0200)]
Only set `msg_len` once

10 years agoMerge branch 'master' of github.com:baskerville/bspwm
Bastien Dejean [Sat, 20 Jul 2013 19:24:02 +0000 (21:24 +0200)]
Merge branch 'master' of github.com:baskerville/bspwm

10 years agoFix potential leak and null pointer dereference
Bastien Dejean [Sat, 20 Jul 2013 19:22:26 +0000 (21:22 +0200)]
Fix potential leak and null pointer dereference

10 years agoMerge pull request #43 from Stebalien/allow-overriding-compiler
Bastien Dejean [Sat, 20 Jul 2013 18:55:41 +0000 (11:55 -0700)]
Merge pull request #43 from Stebalien/allow-overriding-compiler

Allow overriding compiler.

10 years agoAllow overriding compiler.
Steven Allen [Sat, 20 Jul 2013 16:07:36 +0000 (12:07 -0400)]
Allow overriding compiler.

10 years agoOptimize the `last` selector
Bastien Dejean [Fri, 19 Jul 2013 08:45:55 +0000 (10:45 +0200)]
Optimize the `last` selector

10 years agoAdd new selector modifiers: `urgent` and `nonurgent`
Bastien Dejean [Fri, 19 Jul 2013 08:13:22 +0000 (10:13 +0200)]
Add new selector modifiers: `urgent` and `nonurgent`

10 years agoClarify the command syntax for adding rules
Bastien Dejean [Tue, 16 Jul 2013 14:51:17 +0000 (16:51 +0200)]
Clarify the command syntax for adding rules

10 years agoRaise focused floating window via pointer -g focus
Bastien Dejean [Mon, 15 Jul 2013 19:18:37 +0000 (21:18 +0200)]
Raise focused floating window via pointer -g focus

10 years agoShow monitor padding information via `query -T`
Bastien Dejean [Mon, 15 Jul 2013 18:40:29 +0000 (20:40 +0200)]
Show monitor padding information via `query -T`

10 years agoDon't raise windows via `focus_follows_pointer`
Bastien Dejean [Mon, 15 Jul 2013 18:28:28 +0000 (20:28 +0200)]
Don't raise windows via `focus_follows_pointer`

10 years agoMerge pull request #39 from Stebalien/presel-modifier
Bastien Dejean [Sun, 14 Jul 2013 21:20:17 +0000 (14:20 -0700)]
Merge pull request #39 from Stebalien/presel-modifier

Presel modifier

10 years agoMerge pull request #42 from Stebalien/eat-padding-arguments
Bastien Dejean [Sun, 14 Jul 2013 21:17:19 +0000 (14:17 -0700)]
Merge pull request #42 from Stebalien/eat-padding-arguments

Eat padding arguments.

10 years agoEat padding arguments.
Steven Allen [Sun, 14 Jul 2013 20:45:13 +0000 (16:45 -0400)]
Eat padding arguments.

10 years agoDocument mode modifier.
Steven Allen [Sat, 13 Jul 2013 22:40:44 +0000 (18:40 -0400)]
Document mode modifier.

10 years agoAdd mode modifier
Steven Allen [Sat, 13 Jul 2013 22:29:12 +0000 (18:29 -0400)]
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}
    }

10 years agoRemove the *_padding settings
Bastien Dejean [Sun, 14 Jul 2013 19:29:30 +0000 (21:29 +0200)]
Remove the *_padding settings

Setting and getting the monitor padding is now handled by the `-p`
option of the monitor command.

10 years agoMerge pull request #40 from Stebalien/fix-command-no-args
Bastien Dejean [Sun, 14 Jul 2013 18:41:36 +0000 (11:41 -0700)]
Merge pull request #40 from Stebalien/fix-command-no-args

Don't assume command arguments.

10 years agoDon't assume command arguments.
Steven Allen [Sun, 14 Jul 2013 16:24:43 +0000 (12:24 -0400)]
Don't assume command arguments.

10 years agoUse '--' as first argument for the `set` built-in
Bastien Dejean [Sun, 14 Jul 2013 12:15:36 +0000 (14:15 +0200)]
Use '--' as first argument for the `set` built-in

That's what dash's manual specifies.

10 years agoDon't skip matching monitors
Bastien Dejean [Sun, 14 Jul 2013 09:09:17 +0000 (11:09 +0200)]
Don't skip matching monitors

10 years agoMerge pull request #38 from Stebalien/fix-segfaults
Bastien Dejean [Sun, 14 Jul 2013 07:56:45 +0000 (00:56 -0700)]
Merge pull request #38 from Stebalien/fix-segfaults

Don't segfault.

10 years agoDon't segfault.
Steven Allen [Sat, 13 Jul 2013 22:21:16 +0000 (18:21 -0400)]
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.

10 years agoMerge remote-tracking branch 'stebalien/apply-modifiers-to-everything'
Bastien Dejean [Sat, 13 Jul 2013 20:57:09 +0000 (22:57 +0200)]
Merge remote-tracking branch 'stebalien/apply-modifiers-to-everything'

10 years agoApply modifiers to all objects
Steven Allen [Sat, 13 Jul 2013 19:12:59 +0000 (15:12 -0400)]
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

10 years agoRemove `focus_by_distance` from the completions
Bastien Dejean [Sat, 13 Jul 2013 20:34:43 +0000 (22:34 +0200)]
Remove `focus_by_distance` from the completions

10 years agoMerge pull request #36 from Stebalien/fix-monitor-selection
Bastien Dejean [Sat, 13 Jul 2013 20:31:27 +0000 (13:31 -0700)]
Merge pull request #36 from Stebalien/fix-monitor-selection

Call `monitor_from_desc` in `monitor -f <mon>`

10 years agoRemove setting: `focus_by_distance`
Bastien Dejean [Sat, 13 Jul 2013 20:23:13 +0000 (22:23 +0200)]
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

10 years agoCall monitor_from_desc in `monitor -f <mon>`
Steven Allen [Sat, 13 Jul 2013 20:17:59 +0000 (16:17 -0400)]
Call monitor_from_desc in `monitor -f <mon>`

10 years agoFix small typo
Bastien Dejean [Sat, 13 Jul 2013 08:31:14 +0000 (10:31 +0200)]
Fix small typo

10 years agoMerge pull request #35 from Stebalien/expand-selector-documentation
Bastien Dejean [Sat, 13 Jul 2013 08:25:32 +0000 (01:25 -0700)]
Merge pull request #35 from Stebalien/expand-selector-documentation

Expand selector documentation

10 years agoMerge pull request #34 from Stebalien/fixup-control-flags
Bastien Dejean [Sat, 13 Jul 2013 08:24:54 +0000 (01:24 -0700)]
Merge pull request #34 from Stebalien/fixup-control-flags

Remove `<file_path>` arguments from control flags.

10 years agoDon't transplant when swapping
Bastien Dejean [Sat, 13 Jul 2013 07:40:19 +0000 (09:40 +0200)]
Don't transplant when swapping

The new syntax provides a separate transplantation option.

10 years agoRemove setting: `monitor_focus_fallback`
Bastien Dejean [Sat, 13 Jul 2013 07:32:38 +0000 (09:32 +0200)]
Remove setting: `monitor_focus_fallback`

“There's only one way to do it.”

And a window selection shall always return a node.

10 years agoExpand selector documentation.
Steven Allen [Sat, 13 Jul 2013 03:04:50 +0000 (23:04 -0400)]
Expand selector documentation.

Instead of simply listing selectors, describe how they work explicitly.

10 years agoExpand single-use definitions
Steven Allen [Sat, 13 Jul 2013 03:01:05 +0000 (23:01 -0400)]
Expand single-use definitions

Replace all single-use documentation constants with their actual values.
This makes the documentation easier to follow (less cross-referencing).

10 years agoRemove `<file_path>` arguments from control flags.
Steven Allen [Sat, 13 Jul 2013 00:36:09 +0000 (20:36 -0400)]
Remove `<file_path>` arguments from control flags.

Neither `--adopt-orphans` nor `--put-status` should have arguments.

10 years agoRefocus the focused node in `transplant_node`
Bastien Dejean [Fri, 12 Jul 2013 21:17:32 +0000 (23:17 +0200)]
Refocus the focused node in `transplant_node`

10 years agoStart writing miscellaneous documentation
Bastien Dejean [Fri, 12 Jul 2013 21:03:31 +0000 (23:03 +0200)]
Start writing miscellaneous documentation

10 years agoFinish updating examples for the new syntax
Bastien Dejean [Fri, 12 Jul 2013 21:02:39 +0000 (23:02 +0200)]
Finish updating examples for the new syntax