`setxkblayout` is actually `switchxkblayout` in `hyprctl` (#69)

This commit is contained in:
MahouShoujoMivutilde 2022-12-03 23:24:36 +03:00 committed by GitHub
parent e374688509
commit d207b592c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ For example: `us,ua` -> config binds would be e.g. `SUPER, A`, while on `ua,us`
{{< /hint >}}
You can also bind a key to execute `hyprctl setxkblayout` for more keybind freedom.
You can also bind a key to execute `hyprctl switchxkblayout` for more keybind freedom.
See [Using hyprctl](../Using-hyprctl).
# Disabling keybinds with one master keybind

View File

@ -110,7 +110,7 @@ hyprctl output create headless
hyprctl output remove HEADLESS-1
```
### setxkblayout
### switchxkblayout
Sets the xkb layout index for a keyboard.
@ -124,7 +124,7 @@ device:my-epic-keyboard-v1 {
You can use this command to switch between them.
```
hyprctl setxkblayout [DEVICE] [CMD]
hyprctl switchxkblayout [DEVICE] [CMD]
```
where `CMD` is either `next` for next, `prev` for previous, or `ID`
for a specific one (in the above case, `us`: 0, `pl`: 1, `de`: 2)