-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Separated out the YAML and C# docs - Filled out the YAML docs for existing functionality - Added inheritance for common YAML and C# docs - Filled out the layout engines YAML docs - Minor styling improvements
- Loading branch information
Showing
80 changed files
with
973 additions
and
624 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
39 changes: 1 addition & 38 deletions
39
docs/docs/plugins/command-palette.md → docs/_common/plugins/command-palette.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## Commands <!-- markdownlint-disable-line MD041 --> | ||
|
||
| Identifier | Title | Keybind | | ||
| ------------------------------------- | --------------------------------------------- | ------------------ | | ||
| `whim.focus_indicator.show` | Show focus indicator | No default keybind | | ||
| `whim.focus_indicator.toggle` | Toggle focus indicator | No default keybind | | ||
| `whim.focus_indicator.toggle_fade` | Toggle whether the focus indicator fades | No default keybind | | ||
| `whim.focus_indicator.toggle_enabled` | Toggle whether the focus indicator is enabled | No default keybind | |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## Commands <!-- markdownlint-disable-line MD041 --> | ||
|
||
| Identifier | Title | Keybind | | ||
| -------------------------- | ------------------ | ------------------------------------------------------------------ | | ||
| `whim.gaps.outer.increase` | Increase outer gap | <kbd>Win</kbd> + <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>L</kbd> | | ||
| `whim.gaps.outer.decrease` | Decrease outer gap | <kbd>Win</kbd> + <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>H</kbd> | | ||
| `whim.gaps.inner.increase` | Increase inner gap | <kbd>Win</kbd> + <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>K</kbd> | | ||
| `whim.gaps.inner.decrease` | Decrease inner gap | <kbd>Win</kbd> + <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>J</kbd> | |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Commands <!-- markdownlint-disable-line MD041 --> | ||
|
||
The `LayoutPreviewPlugin` has no commands. |
32 changes: 1 addition & 31 deletions
32
docs/docs/plugins/slice-layout.md → docs/_common/plugins/slice-layout.md
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
34 changes: 1 addition & 33 deletions
34
docs/docs/plugins/tree-layout.md → docs/_common/plugins/tree-layout.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## Commands <!-- markdownlint-disable-line MD041 --> | ||
|
||
| Identifier | Title | Keybind | | ||
| -------------------- | ----------------- | ------------------ | | ||
| `whim.updater.check` | Check for updates | No default keybind | |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Filters | ||
|
||
By default, Whim ignores a built-in list of windows that are known to cause problems with dynamic tiling window manager. Behind the scenes, Whim automatically updates the built-in list of ignored windows based on a subset of the rules from the community-driven [collection of application rules](https://github.com/LGUG2Z/komorebi-application-specific-configuration) managed by komorebi. | ||
|
||
## Custom Filtering Behavior | ||
|
||
The filters configuration tells Whim to ignore windows that match the specified criteria. | ||
|
||
You can filter windows by: | ||
|
||
- `window_class` | ||
- `process_file_name` | ||
- `title` | ||
- `title_regex` | ||
|
||
## Window Class Filter | ||
|
||
For example, to filter out Chromium windows with the class `Chrome_WidgetWin_1`, add the following to your configuration: | ||
|
||
```yaml | ||
filters: | ||
entries: | ||
- type: window_class | ||
value: Chrome_WidgetWin_1 | ||
``` | ||
## Process File Name Filter | ||
For example, to filter out windows with the process file name `explorer.exe`, add the following to your configuration: | ||
|
||
```yaml | ||
filters: | ||
entries: | ||
- type: process_file_name | ||
value: explorer.exe | ||
``` | ||
|
||
## Title Filter | ||
|
||
For example, to filter out windows with the title `Untitled - Notepad`, add the following to your configuration: | ||
|
||
```yaml | ||
filters: | ||
entries: | ||
- type: title | ||
value: Untitled - Notepad | ||
``` | ||
|
||
## Title Match Filter | ||
|
||
For example, to filter out windows with the title that matches the regex `^Untitled - Notepad$`, add the following to your configuration: | ||
|
||
```yaml | ||
filters: | ||
entries: | ||
- type: title_regex | ||
value: ^Untitled - Notepad$ | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Keybinds | ||
|
||
The keybinds configuration has a list of bindings that you can use to bind commands to key combinations. | ||
|
||
## Bindings | ||
|
||
A key modifier is a key that is pressed in combination with another key to perform a specific action. The `bindings` property is a list of keybinds that map a command to a key combination. | ||
|
||
Key modifiers can be any of the following: | ||
|
||
- `Ctrl` | ||
- `Control` | ||
- `LCtrl` | ||
- `LControl` | ||
- `RCtrl` | ||
- `RControl` | ||
- `Shift` | ||
- `LShift` | ||
- `RShift` | ||
- `Alt` | ||
- `LAlt` | ||
- `RAlt` | ||
- `Win` | ||
- `LWin` | ||
- `RWin` | ||
|
||
The associated key for each modifier can be any of the <xref:Windows.Win32.UI.Input.KeyboardAndMouse.VIRTUAL_KEY>s. | ||
|
||
## Commands | ||
|
||
A command is a string that represents a command that can be executed by Whim. The command can be a built-in command, a plugin command, or a custom command. For more, see the [Commands](commands.md) page. | ||
|
||
## Unify Key Modifiers | ||
|
||
To treat key modifiers like `LWin` and `RWin` the same, set `unify_key_modifiers` to `true`. | ||
|
||
## Keybinds Example | ||
|
||
```yaml | ||
keybinds: | ||
entries: | ||
- command: whim.core.focus_next_monitor | ||
keybind: LCtrl+LShift+LAlt+K | ||
|
||
- command: whim.core.focus_previous_monitor | ||
keybind: LCtrl+LShift+LAlt+J | ||
|
||
- command: whim.custom.next_layout_engine | ||
keybind: LCtrl+LShift+LAlt+L | ||
|
||
- command: whim.core.cycle_layout_engine.next | ||
keybind: LCtrl+LShift+LAlt+L | ||
|
||
- command: whim.core.cycle_layout_engine.previous | ||
keybind: LCtrl+LShift+LAlt+Win+L | ||
|
||
- command: whim.command_palette.find_focus_window | ||
keybind: Win+LCtrl+F | ||
|
||
- command: whim.core.exit_whim | ||
keybind: Win+LCtrl+Q | ||
|
||
unify_key_modifiers: true | ||
``` |
Oops, something went wrong.