mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-26 06:25:59 +01:00
setxkblayout
is actually switchxkblayout
in hyprctl
(#69)
This commit is contained in:
parent
e374688509
commit
d207b592c5
2 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ For example: `us,ua` -> config binds would be e.g. `SUPER, A`, while on `ua,us`
|
||||||
|
|
||||||
{{< /hint >}}
|
{{< /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).
|
See [Using hyprctl](../Using-hyprctl).
|
||||||
|
|
||||||
# Disabling keybinds with one master keybind
|
# Disabling keybinds with one master keybind
|
||||||
|
|
|
@ -110,7 +110,7 @@ hyprctl output create headless
|
||||||
hyprctl output remove HEADLESS-1
|
hyprctl output remove HEADLESS-1
|
||||||
```
|
```
|
||||||
|
|
||||||
### setxkblayout
|
### switchxkblayout
|
||||||
|
|
||||||
Sets the xkb layout index for a keyboard.
|
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.
|
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`
|
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)
|
for a specific one (in the above case, `us`: 0, `pl`: 1, `de`: 2)
|
||||||
|
|
Loading…
Reference in a new issue