From 84335e3cee9172a6ce7559ee1c37b0045f9b312a Mon Sep 17 00:00:00 2001 From: Calvin Lee Date: Tue, 21 Feb 2017 12:49:22 -0700 Subject: Feature for #1078: Configurable swaylock colors Colors are configured through the command line so that swaylock conforms to the i3lock fork 'github.com/chrjguill/i3lock-color'. Differences from it are that one letter options '-r' and '-s' are not implimentend because '-s' is already used by '--scaling' in swaylock. This commit also fixed whitespace in 'include/swaylock/swaylock.h' and changed `parse_color` in 'common/util.h' so that it can accept colors that do not start with a hash. This was done to keep compatability with the i3lock fork. --- swaylock.1.txt | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'swaylock.1.txt') diff --git a/swaylock.1.txt b/swaylock.1.txt index c139fb4..9c6c3e1 100644 --- a/swaylock.1.txt +++ b/swaylock.1.txt @@ -45,6 +45,43 @@ Options Use the specified socket path. Otherwise, swaymsg will ask sway where the socket is (which is the value of $SWAYSOCK, then of $I3SOCK). +*--font* :: + Sets the font of the text inside the indicator. + +*--textcolor* :: + Sets the color of the text inside the indicator. + +*--insidevercolor* :: + Sets the color of the inside of the indicator when verifying. + +*--insidewrongcolor* :: + Sets the color of the inside of the indicator when invalid. + +*--insidecolor* :: + Sets the color of the inside of the indicator when typing or idle. + +*--ringvercolor* :: + Sets the color of the outside of the indicator when verifying. + +*--ringwrongcolor* :: + Sets the color of the outside of the indicator when invalid. + +*--ringcolor* :: + Sets the color of the outside of the indicator when typing or idle. + +*--linecolor* :: + Sets the color of the lines that separate the inside and outside of the + indicator. + +*--separatorcolor* :: + Sets the color of the lines that seperate highlight segments. + +*--keyhlcolor* :: + Sets the color of keypress highlight segments. + +*--bshlcolor* :: + Sets the color of backspace highlight segments. + Authors ------- -- cgit v1.2.3