1SWAYLOCK(1) SWAYLOCK(1)
2
3
4
6 swaylock - Screen locker for sway
7
9 swaylock [options]
10
11 Lock the current sway session.
12
14 -h, --help
15 Show help message and quit.
16
17 -c, --color <rrggbb[aa]>
18 Turn the screen into the given color. If -i is used, this sets the
19 background of the image to the given color. Defaults to white
20 (ffffff), or transparent (00000000) if an image is in use.
21
22 -f, --daemonize
23 Fork into the background after spawning. Note: this is the default
24 behavior of i3lock.
25
26 -i, --image [<output>:]<path>
27 Display the given image, optionally only on the given output. Use
28 -c to set a background color.
29
30 --scaling
31 Scaling mode for images: stretch, fill, fit, center, or tile.
32
33 -t, --tiling
34 Same as --scaling=tile.
35
36 -u, --no-unlock-indicator
37 Disable the unlock indicator.
38
39 -v, --version
40 Show the version number and quit.
41
42 --socket <path>
43 Use the specified socket path. Otherwise, swaymsg will ask sway
44 where the socket is (which is the value of $SWAYSOCK, then of
45 $I3SOCK).
46
48 --bshlcolor <rrggbb[aa]>
49 Sets the color of backspace highlight segments.
50
51 --font <font>
52 Sets the font of the text inside the indicator.
53
54 --insidecolor <rrggbb[aa]>
55 Sets the color of the inside of the indicator when typing or idle.
56
57 --insidevercolor <rrggbb[aa]>
58 Sets the color of the inside of the indicator when verifying.
59
60 --insidewrongcolor <rrggbb[aa]>
61 Sets the color of the inside of the indicator when invalid.
62
63 --keyhlcolor <rrggbb[aa]>
64 Sets the color of keypress highlight segments.
65
66 --linecolor <rrggbb[aa]>
67 Sets the color of the lines that separate the inside and outside of
68 the indicator.
69
70 -s, --line-uses-inside
71 Use the color of the inside of the indicator for the line
72 separating the inside and outside of the indicator.
73
74 -r, --line-uses-ring
75 Use the outer ring’s color for the line separating the inside and
76 outside of the indicator.
77
78 --ringcolor <rrggbb[aa]>
79 Sets the color of the outside of the indicator when typing or idle.
80
81 --ringvercolor <rrggbb[aa]>
82 Sets the color of the outside of the indicator when verifying.
83
84 --ringwrongcolor <rrggbb[aa]>
85 Sets the color of the outside of the indicator when invalid.
86
87 --separatorcolor <rrggbb[aa]>
88 Sets the color of the lines that seperate highlight segments.
89
90 --textcolor <rrggbb[aa]>
91 Sets the color of the text inside the indicator.
92
93 --indicator-radius <radius>
94 Sets the radius of the indicator to radius pixels. The default
95 value is 50.
96
97 --indicator-thickness <thickness>
98 Sets the thickness of the indicator to thickness pixels. The
99 default value is 10.
100
102 Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other
103 open source contributors. For more information about sway development,
104 see https://github.com/swaywm/sway.
105
106
107
108 07/26/2018 SWAYLOCK(1)