From 017352f8b83981aa849e1501b6219b403f1ca3d3 Mon Sep 17 00:00:00 2001 From: HoodedDeath <37732447+HoodedDeath@users.noreply.github.com> Date: Wed, 4 May 2022 15:07:21 -0600 Subject: [PATCH] Move background and parent config above widgets Since these two options go outside of all keys sections, I feel that this arrangement is more clear than having them below all other sections --- README.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 7c86da7..268f99f 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,25 @@ deckmaster -sleep 10m You can find a few example configurations in the [decks](https://github.com/muesli/deckmaster/tree/master/decks) directory. Edit them to your needs! +### Background Image + +You can configure each deck to display an individual wallpaper behind its +widgets: + +```toml +background = "/some/image.png" +``` + +### Re-using another deck's configuration + +If you specify a `parent` inside a deck's configuration, it will inherit all +of the parent's settings that are not overwritten by the deck's own settings. +This even works recursively: + +```toml +parent = "another.deck" +``` + ### Widgets Any widget is build up the following way: @@ -369,25 +388,6 @@ pressed: device = "sleep" ``` -### Background Image - -You can configure each deck to display an individual wallpaper behind its -widgets: - -```toml -background = "/some/image.png" -``` - -### Re-using another deck's configuration - -If you specify a `parent` inside a deck's configuration, it will inherit all -of the parent's settings that are not overwritten by the deck's own settings. -This even works recursively: - -```toml -parent = "another.deck" -``` - ## More Decks! [deckmaster-emojis](https://github.com/muesli/deckmaster-emojis), an Emoji keyboard deck