update switchxkblayout example using name key (#576)

device:my-epic-keyboard-v1 {
    kb_layout=us,pl,de
}

does no longer work, but it does work when using

device {
    name=my-epic-keyboard-v1
    kb_layout=us,pl,de
}
This commit is contained in:
DiskyToy 2024-04-07 16:23:42 +02:00 committed by GitHub
parent 68eec5d3fa
commit 549b728393
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ Sets the xkb layout index for a keyboard.
For example, if you set:
```ini
device:my-epic-keyboard-v1 {
device {
name=my-epic-keyboard-v1
kb_layout=us,pl,de
}
```