Skip to content

Commit

Permalink
docs: update usage section in README
Browse files Browse the repository at this point in the history
  • Loading branch information
nikola-kocic committed Oct 8, 2024
1 parent 7be03da commit 114a741
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
# i3 Switch Tabs
Switch top-level tabs in i3-wm

## Notes:
## Notes

Requires i3wm version 4.8 or newer.
Requires i3-wm version 4.8 or newer.

## Usage:
## Usage

Add this to i3 config:
```
Usage: i3-switch-tabs <DIRECTION>
Arguments:
<DIRECTION> Direction to switch to [possible values: left, right, down, up]
Options:
-h, --help Print help
-V, --version Print version
```

### Example

Add this to your i3-wm config:

```
bindsym $mod+Tab exec i3-switch-tabs right
Expand Down

0 comments on commit 114a741

Please sign in to comment.