-
-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added switch-global-* actions (#775)
This pull request is to add four new actions that complement `switch-right`, `switch-left`, `switch-up` and `switch-down` with *global* versions that change window regardless of monitor boundaries. This means the action will not respect the current monitor boundaries and will select a window on the adjacent monitor if the previous selection was at a boundary. For example, `switch-global-right` when the selected window is the rightmost of a *space* will move to the monitor on the right and select the first window. While within monitor boundaries, the behavior is exactly the same as `switch-*`. 1. It doesn't change other actions, you can always keep on changing monitors with `<Super><Shift><right/left/up/down>`, which preserves the last selected window on each *space* when moving back and forth, while `switch-global-*` actions don't (they move to the *"closest"* window). 2. There are no default key bindings for these actions. For example, I have replaced the ones for `switch-*` with the actions `switch-global-*`, but by default, the change doesn't do anything. The pull request is backwards compatible, transparent, and needs the user to enable the behavior knowingly; it doesn't add any key bindings by default.
- Loading branch information
Showing
6 changed files
with
106 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters