summaryrefslogtreecommitdiffstats
path: root/swaylock/swaylock.1.txt
diff options
context:
space:
mode:
authorLibravatar Calvin Lee <cyrus296@gmail.com>2017-02-21 12:49:22 -0700
committerLibravatar Calvin Lee <cyrus296@gmail.com>2017-02-21 14:12:31 -0700
commit34e2c70abcbc9ba496ab32f1f742dd7bae0ce0fe (patch)
tree41068bbf6d412c8501a8040c577321798ff8991c /swaylock/swaylock.1.txt
parentMerge pull request #1075 from zandrmartin/floating-positioning (diff)
downloadsway-34e2c70abcbc9ba496ab32f1f742dd7bae0ce0fe.tar.gz
sway-34e2c70abcbc9ba496ab32f1f742dd7bae0ce0fe.tar.zst
sway-34e2c70abcbc9ba496ab32f1f742dd7bae0ce0fe.zip
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
45 Use the specified socket path. Otherwise, swaymsg will ask sway where the 45 Use the specified socket path. Otherwise, swaymsg will ask sway where the
46 socket is (which is the value of $SWAYSOCK, then of $I3SOCK). 46 socket is (which is the value of $SWAYSOCK, then of $I3SOCK).
47 47
48*--font* <font>::
49 Sets the font of the text inside the indicator.
50
51*--textcolor* <rrggbb[aa]>::
52 Sets the color of the text inside the indicator.
53
54*--insidevercolor* <rrggbb[aa]>::
55 Sets the color of the inside of the indicator when verifying.
56
57*--insidewrongcolor* <rrggbb[aa]>::
58 Sets the color of the inside of the indicator when invalid.
59
60*--insidecolor* <rrggbb[aa]>::
61 Sets the color of the inside of the indicator when typing or idle.
62
63*--ringvercolor* <rrggbb[aa]>::
64 Sets the color of the outside of the indicator when verifying.
65
66*--ringwrongcolor* <rrggbb[aa]>::
67 Sets the color of the outside of the indicator when invalid.
68
69*--ringcolor* <rrggbb[aa]>::
70 Sets the color of the outside of the indicator when typing or idle.
71
72*--linecolor* <rrggbb[aa]>::
73 Sets the color of the lines that separate the inside and outside of the
74 indicator.
75
76*--separatorcolor* <rrggbb[aa]>::
77 Sets the color of the lines that seperate highlight segments.
78
79*--keyhlcolor* <rrggbb[aa]>::
80 Sets the color of keypress highlight segments.
81
82*--bshlcolor* <rrggbb[aa]>::
83 Sets the color of backspace highlight segments.
84
48 85
49Authors 86Authors
50------- 87-------