diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-08-08 13:46:36 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-08-08 15:37:06 -0400 |
commit | 43d1ffc9ddf01eaf614293b5c8aeada27c3c9907 (patch) | |
tree | a628319cf9fe03e2e0c2ec0cd4a885b39cf7807d /sway/sway.5.scd | |
parent | Merge pull request #2423 from manio/master (diff) | |
download | sway-43d1ffc9ddf01eaf614293b5c8aeada27c3c9907.tar.gz sway-43d1ffc9ddf01eaf614293b5c8aeada27c3c9907.tar.zst sway-43d1ffc9ddf01eaf614293b5c8aeada27c3c9907.zip |
Allow a fallback color to be specified for swaybg
This allows for a color to be set when the wallpaper does not fill the
entire output. If specified, the fallback color is also used when the
image path is inaccessible.
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd index 73a01152..31ab281b 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd | |||
@@ -489,9 +489,13 @@ The default colors are: | |||
489 | setting an integral scale factor and adjusting the font size of your | 489 | setting an integral scale factor and adjusting the font size of your |
490 | applications to taste. | 490 | applications to taste. |
491 | 491 | ||
492 | *output* <name> background|bg <file> <mode> | 492 | *output* <name> background|bg <file> <mode> [<fallback\_color>] |
493 | Sets the wallpaper for the given output to the specified file, using the | 493 | Sets the wallpaper for the given output to the specified file, using the |
494 | given scaling mode (one of "stretch", "fill", "fit", "center", "tile"). | 494 | given scaling mode (one of "stretch", "fill", "fit", "center", "tile"). If |
495 | the specified file cannot be accessed or if the image does fill the entire | ||
496 | output, a fallback color may be provided to cover the rest of the output. | ||
497 | __fallback\_color__ should be specified as _#RRGGBB_. Alpha is not | ||
498 | supported. | ||
495 | 499 | ||
496 | **output** <name> background|bg <color> solid\_color | 500 | **output** <name> background|bg <color> solid\_color |
497 | Sets the background of the given output to the specified color. _color_ | 501 | Sets the background of the given output to the specified color. _color_ |