Skip to content

Commit 0330766

Browse files
Document deck switching (#63)
1 parent 3530da6 commit 0330766

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ To install deckmaster, simply run:
4848

4949
## System Setup
5050

51-
On Linux you need to set up some udev rules to be able to access the device as a
52-
regular user. Edit `/etc/udev/rules.d/99-streamdeck.rules` and add these lines:
51+
On Linux you need to set up some `udev` rules to be able to access the device as
52+
a regular user. Edit `/etc/udev/rules.d/99-streamdeck.rules` and add these lines:
5353

5454
```
5555
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="0060", MODE:="666", GROUP="plugdev", SYMLINK+="streamdeck"
@@ -60,7 +60,7 @@ SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="006c", MODE:="666"
6060
```
6161

6262
Make sure your user is part of the `plugdev` group and reload the rules with
63-
`sudo udevadm control --reload-rules`. Unplug and replug the device and you
63+
`sudo udevadm control --reload-rules`. Unplug and re-plug the device, and you
6464
should be good to go.
6565

6666
### Starting deckmaster automatically
@@ -291,6 +291,13 @@ background = "/some/image.png"
291291

292292
You can hook up any key with several actions:
293293

294+
#### Switch deck
295+
296+
```toml
297+
[keys.action]
298+
deck = "relative/path/to/another.deck"
299+
```
300+
294301
#### Run a command
295302

296303
```toml
@@ -312,7 +319,7 @@ Emulate a series of key-presses with delay in between:
312319
keycode = "Leftctrl-X+500 / Leftctrl-V / Num1"
313320
```
314321

315-
A list of available keycodes can be found here: [keycodes](https://github.com/muesli/deckmaster/blob/master/keycodes.go)
322+
A list of available `keycodes` can be found here: [keycodes](https://github.com/muesli/deckmaster/blob/master/keycodes.go)
316323

317324
#### Paste to clipboard
318325

0 commit comments

Comments
 (0)