Search for device automatically if none given

This commit is contained in:
Grant Moyer
2021-02-07 21:05:34 -05:00
parent 6fdbc27998
commit 08e886ebc6
3 changed files with 52 additions and 25 deletions

View File

@ -25,13 +25,12 @@
// },
"keyboard_state": {
"numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
},
"capslock": true,
"device-path": "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
}
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"