From 43d1ffc9ddf01eaf614293b5c8aeada27c3c9907 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Wed, 8 Aug 2018 13:46:36 -0400 Subject: 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. --- sway/sway.5.scd | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sway/sway.5.scd') 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: setting an integral scale factor and adjusting the font size of your applications to taste. -*output* background|bg +*output* background|bg [] Sets the wallpaper for the given output to the specified file, using the - given scaling mode (one of "stretch", "fill", "fit", "center", "tile"). + given scaling mode (one of "stretch", "fill", "fit", "center", "tile"). If + the specified file cannot be accessed or if the image does fill the entire + output, a fallback color may be provided to cover the rest of the output. + __fallback\_color__ should be specified as _#RRGGBB_. Alpha is not + supported. **output** background|bg solid\_color Sets the background of the given output to the specified color. _color_ -- cgit v1.2.3-54-g00ecf