summaryrefslogtreecommitdiff
path: root/swaylock.1.scd
diff options
context:
space:
mode:
authorDominik Bendle <fubenkyou@protonmail.ch>2019-01-22 21:00:01 +0100
committerDominik Bendle <fubenkyou@protonmail.ch>2019-01-25 10:30:13 +0100
commitc2b99768e9bdaa4b1ef5ac8ca77080ea690b57b4 (patch)
tree5c1de1cc5a67f80f0c33476bbaab82d046f04930 /swaylock.1.scd
parentc163f0a0c7494027e603105284e1c2882ab69ed1 (diff)
Allow setting both background image and colour
The -c/--color option no longer sets BACKGROUND_MODE_SOLID_COLOR (which disables the background image) and the background color is now set in all cases. One can still use --scaling solid_color to disable display of a background image. As a consequence, there is now only one possible default background colour (white), regardless of whether a background image is given or not.
Diffstat (limited to 'swaylock.1.scd')
-rw-r--r--swaylock.1.scd7
1 files changed, 4 insertions, 3 deletions
diff --git a/swaylock.1.scd b/swaylock.1.scd
index 593358b..9f7d88c 100644
--- a/swaylock.1.scd
+++ b/swaylock.1.scd
@@ -55,15 +55,16 @@ Locks your Wayland session.
Show the current Caps Lock state also on the indicator.
*-s, --scaling*
- Scaling mode for images: _stretch_, _fill_, _fit_, _center_, or _tile_.
+ Scaling mode for images: _stretch_, _fill_, _fit_, _center_, or _tile_. Use
+ the additional mode _solid\_color_ to display only the background color, even
+ if a background image is specified.
*-t, --tiling*
Same as --scaling=tile.
*-c, --color* <rrggbb[aa]>
Turn the screen into the given color. If -i is used, this sets the
- background of the image to the given color. Defaults to white (FFFFFF), or
- transparent (00000000) if an image is in use.
+ background of the image to the given color. Defaults to white (FFFFFF).
*--bs-hl-color* <rrggbb[aa]>
Sets the color of backspace highlight segments.