Document new layout option

This commit is contained in:
Trevor Slocum 2020-10-21 12:17:21 -07:00
parent 8b69a80866
commit 0b896fe4e5

View file

@ -3,10 +3,11 @@ configuration options and their defaults.
# Options
* **--buffer-size** Audio buffer size, defaults to 500ms.
* **--restrict-library** Restrict access to a folder and its subfolders.
* **--buffer-size** Audio buffer size, defaults to `500ms`.
* **--disable-autoplay** Disable automatically playing the queue.
* **--disable-mouse** Disable mouse support.
* **--layout** Interface layout, defaults to `main,queue,playing`.
* **--restrict-library** Restrict access to a folder and its subfolders.
* **--fd** Write audio in WAV format to the specified file descriptor instead. This allows ditty to be used over ssh:
* `ssh ditty.rocketnine.space -t 'ditty --fd=2' 2> >(aplay --quiet)`
* Note: Writing to a file descriptor disables pause support.
@ -30,6 +31,8 @@ configuration options and their defaults.
# Default ~/.config/ditty/config.yaml
```yaml
layout: main,queue,playing
volume: 75
input: