aboutsummaryrefslogtreecommitdiff
path: root/swaylock/swaylock.1.txt
diff options
context:
space:
mode:
authorCalvin Lee <cyrus296@gmail.com>2017-02-21 12:49:22 -0700
committerCalvin Lee <cyrus296@gmail.com>2017-02-21 14:12:31 -0700
commit34e2c70abcbc9ba496ab32f1f742dd7bae0ce0fe (patch)
tree41068bbf6d412c8501a8040c577321798ff8991c /swaylock/swaylock.1.txt
parent76614efb16527420017291cd47de176b11440d38 (diff)
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.
Diffstat (limited to 'swaylock/swaylock.1.txt')
-rw-r--r--swaylock/swaylock.1.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/swaylock/swaylock.1.txt b/swaylock/swaylock.1.txt
index c139fb4a..9c6c3e10 100644
--- a/swaylock/swaylock.1.txt
+++ b/swaylock/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* <font>::
+ Sets the font of the text inside the indicator.
+
+*--textcolor* <rrggbb[aa]>::
+ Sets the color of the text inside the indicator.
+
+*--insidevercolor* <rrggbb[aa]>::
+ Sets the color of the inside of the indicator when verifying.
+
+*--insidewrongcolor* <rrggbb[aa]>::
+ Sets the color of the inside of the indicator when invalid.
+
+*--insidecolor* <rrggbb[aa]>::
+ Sets the color of the inside of the indicator when typing or idle.
+
+*--ringvercolor* <rrggbb[aa]>::
+ Sets the color of the outside of the indicator when verifying.
+
+*--ringwrongcolor* <rrggbb[aa]>::
+ Sets the color of the outside of the indicator when invalid.
+
+*--ringcolor* <rrggbb[aa]>::
+ Sets the color of the outside of the indicator when typing or idle.
+
+*--linecolor* <rrggbb[aa]>::
+ Sets the color of the lines that separate the inside and outside of the
+ indicator.
+
+*--separatorcolor* <rrggbb[aa]>::
+ Sets the color of the lines that seperate highlight segments.
+
+*--keyhlcolor* <rrggbb[aa]>::
+ Sets the color of keypress highlight segments.
+
+*--bshlcolor* <rrggbb[aa]>::
+ Sets the color of backspace highlight segments.
+
Authors
-------