Skip to content

Commit 540ac59

Browse files
committed
i3lock
1 parent 68cadfb commit 540ac59

File tree

2 files changed

+220
-0
lines changed

2 files changed

+220
-0
lines changed

.config/i3lock-fancier/config.ini

+220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
; vim: noexpandtab shiftwidth=4 tabstop=4
2+
3+
; Copy this file to ~/.config/i3lock-fancier/
4+
; or provide it to executable with `-c` key
5+
6+
; [i3lock] section configures overall behaviour of i3lock
7+
[i3lock]
8+
; Enable debug logging.
9+
; WARNING: This will log password to stdout!
10+
; Possible values: 0 for disable or 1 for enable
11+
; Default value: 0
12+
debug = 0
13+
; When an empty password is provided by the user, do not validate it.
14+
; Without this option, the empty password will be privided to PAM, and,
15+
; if invalid, the user will have to wait a few seconds before another try.
16+
; This can be useful if the XF86ScreenSaver key is used to
17+
; put a laptop to sleep and bounce on resume or if you happen to
18+
; wake up your computer with the enter key.
19+
; Possible values: 0 or 1
20+
; Default value: 1
21+
ingore_empty_password = 1
22+
; Show number of failed attempts, if any
23+
; This doesn't seems to be working now...
24+
; Possible values: 0 or 1
25+
; Default value: 0
26+
show_failed_attempts = 0
27+
28+
screen_number = -1
29+
internal_line_source = 0
30+
31+
; Path to background image
32+
; If unspecified, screen will be filled with 'color' color
33+
; Possible values: none or path to image
34+
; Default value: none
35+
image_path = ~/.lock.png
36+
; Tile background image if it is smaller than screen
37+
; Possible values: 0 or 1
38+
; Default value: 0
39+
tile = 0
40+
41+
; [text] section configures behaviour of status text
42+
[text]
43+
; String to be shown while verifying the password
44+
; Possible values: any string
45+
; Default value: verifying...
46+
verif_text = ...
47+
; String to be shown upon entering an incorrect password
48+
; Possible values: any string
49+
; Default value: wrong!
50+
wrong_text = Reported!
51+
52+
; Font size of the status text
53+
; Possible values: floats
54+
; Default value: 28.0
55+
text_size = 28.0
56+
; Original i3lock-color man says this variable is responsing for
57+
; showing size of active modifyers, such as caps lock, num lock, etc
58+
; Never saw it working, lol.
59+
; Possible values: floats
60+
; Default value: 14.0
61+
modifier_size = 14.0
62+
63+
; [unlock] section configures behaviour of unlock indicator
64+
[unlock]
65+
; Show or disable unlock indicator
66+
; Possible values: 0 for disable or 1 for enable
67+
; Default value: 1
68+
show_indicator = 0
69+
; Always show unlock indicator, regardless of having password typed or not
70+
; Possible values: 0 for disable or 1 for enable
71+
; Default value: 0
72+
always_show_indicator = 0
73+
74+
; Expression that set position of unlock indicator on the screen
75+
; Possible values: mathematical expression with following variables:
76+
; x, y - position of the current display
77+
; (x;y) correspond to (0;0) on current display
78+
; w, h - width and height of the current display
79+
; r - unlock indicator radius
80+
; Default values:
81+
; x + (w / 2)
82+
; y + (h / 2)
83+
unlock_x_expr = x + (w / 2)
84+
unlock_y_expr = y + (h / 2)
85+
86+
; Radius of unlock incicator circle
87+
; Possible values: floats
88+
; Default value: 90
89+
circle_radius = 90.0
90+
91+
; Configure [colors] of your lockscreen and indicators
92+
[colors]
93+
; Background color
94+
; If no background image specified, screen will be filled with this color
95+
; Possible values: 3-byte hexadecimal color: #rrggbb - # is optional
96+
; Default value: #000000
97+
color = #000000
98+
99+
; All colors bellow are in 4-byte hexadecimal format: #rrggbbaa - # is optional
100+
101+
; Variables that end with:
102+
; 'vercolor' - configure color when password is being verified
103+
; 'wrongcolor' - configure color during the flash for an incorrect password
104+
; 'color' - normal color
105+
106+
; Set the interior circle colors
107+
insidevercolor = #006effbf
108+
insidewrongcolor = #fa0000bf
109+
insidecolor = #000000bf
110+
111+
; Set the ring colors
112+
ringvercolor = #3300faff
113+
ringwrongcolor = #7d3300ff
114+
ringcolor = #337d00ff
115+
116+
; Set the color for line separating for inside circle and the outer ring
117+
linecolor = #000000ff
118+
119+
; Set the color of status text (verification and wrong)
120+
textcolor = #000000ff
121+
; Set the color of time in clock
122+
timecolor = #000000ff
123+
; Set the color of date in clock
124+
datecolor = #000000ff
125+
126+
; Set the color of the ring 'highlight' strokes that appear upon keypress
127+
keyhlcolor = #33db00ff
128+
; Set the color of the ring 'highlight' strokes that appear upon backspace
129+
bshlcolor = #db3300ff
130+
; Set the color of the 'separator' which is at both ends oof the ring highlights
131+
separatorcolor = #000000ff
132+
; Set the color of the keyboard layout and caps lock indicators
133+
indicatorscolor = #ffffffff
134+
135+
136+
; [clock] configuration configures, well, time in clock.
137+
[clock]
138+
; Show or hide clock and date
139+
; Possible values: 0 for hide and 1 for show
140+
; Default value: 0
141+
show_clock = 0
142+
; How often clock will update itself
143+
; Possible values: Positive float
144+
; Default value: 1.0
145+
refresh_rate = 1.0
146+
147+
; Set the clock format. See strftime(3) for a full list of format specifiers
148+
; Possible values: string
149+
; Default value: %H:%M:%S
150+
format = %H:%M:%S
151+
; Set the font of clock
152+
; Possible values: string
153+
; Default value: sans-serif
154+
font = Inconsolata\-dz for Powerline
155+
; Set the font size of the clock
156+
; Possible values: floats
157+
; Default value: 32.0
158+
font_size = 32.0
159+
160+
; Set the position of the time string. All the variables from unlock_%_expr
161+
; may be used, in addition to:
162+
; ix, iy - the x/y value of the unlock indicator of the current display
163+
; cw/ch - clock width/height
164+
; Possible values: mathematical expression
165+
; Default values:
166+
; ix - (cw / 2)
167+
; iy - (ch / 2)
168+
x_expr = ix - (cw / 2)
169+
y_expr = iy - 150 - (ch / 2)
170+
171+
172+
; Configure [date] in clock
173+
[date]
174+
; Set the date format. See strftime(3) for a full list of format specifiers
175+
; Possible values: string
176+
; Default values: %A, %m %Y
177+
format = %A, %m %Y
178+
; Set the font of the date
179+
; Possible values: string
180+
; Default value: sans-serif
181+
font = Inconsolata\-dz for Powerline
182+
; Set the font size of the date
183+
; Possible values: floats
184+
; Default value: 14.0
185+
font_size = 16.0
186+
187+
; Set the position of the date string. All the variables from unlock_%_expr
188+
; and x_expr in [time] may be used, in addition to:
189+
; tx, ty - the computed x/y value of the timestring for the current display
190+
; Possible values: mathematical expression
191+
; Default values:
192+
; tx
193+
; ty + 30
194+
x_expr = tx
195+
y_expr = ty + 30
196+
197+
; [keyboard] section configures behaviour and appearence of
198+
; keyboard layout and caps lock indicator.
199+
[keyboard]
200+
; Show or hide keyboard layout and caps lock indicator
201+
; Possible values: 0 or 1
202+
; Default values: 1
203+
show_key_layout = 0
204+
show_caps_state = 0
205+
206+
; Font to be used to show keyboard indicators
207+
; Possible values: string
208+
; Default values: sans-serif
209+
font = Inconsolata\-dz for Powerline
210+
; Size of font used to show layout indicators
211+
; Possible values: floats
212+
; Default values: 32.0
213+
font_size = 16.0
214+
215+
; Set the position of the date string. All the variables from unlock_%_expr
216+
; may be used.
217+
; Possible value: mathematical expression
218+
; Default values: x/y + (w/h / 2)
219+
x_expr = x + (w / 2)
220+
y_expr = y + 150 + (h / 2)

.lock.png

40.4 KB
Loading

0 commit comments

Comments
 (0)