38827014ab20cfd56356f8a33fe295285d2a0e08

Author
outfoxxed <outfoxxed@outfoxxed.me>
Committer
outfoxxed <outfoxxed@outfoxxed.me>
Date

Message

Add documentation for `focustab index`

Diff

 1diff --git a/README.md b/README.md
 2index dd112195f50684e39aa8fc7f6328ec001e690ca7..b447ddcd6f5e8e7c3f325823dc1d75983fb8589d 100644
 3--- a/README.md
 4+++ b/README.md
 5@@ -103,13 +103,14 @@ plugin {
 6    - `lower` - lower focus one level
 7    - `tab` - raise focus to the nearest tab
 8    - `tabnode` - raise focus to the nearest node under the tab
 9- - `hy3:focustab <mouse | [l | r | left | right], [prioritize_hovered | require_hovered], [wrap]>`
10+ - `hy3:focustab <mouse | [l | r | left | right | index, <index>], [prioritize_hovered | require_hovered], [wrap]>`
11    - `mouse` - focus the tab under the mouse, works well with a non consuming bind, e.g.
12      ```conf
13      # binds hy3:focustab to lmb and still allows windows to receive clicks
14      bindn = , mouse:272, hy3:focustab, mouse
15      ```
16-   - `l | r | left | right` - direction to change tabs in
17+   - `l | r | left | right` - direction to change focus towards
18+   - `index, <index>` - select the `index`th tab
19    - `prioritize_hovered` - prioritize the tab group under the mouse when multiple are stacked. use the lowest group if none is under the mouse.
20    - `require_hovered` - affect the tab group under the mouse. do nothing if none are hovered.
21    - `wrap` - wrap to the opposite size of the tab bar if moving off the end