-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlock
executable file
·59 lines (55 loc) · 1.56 KB
/
lock
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/sh
alpha='dd'
background='#282a36'
selection='#44475a'
comment='#6272a4'
yellow='#f1fa8c'
orange='#ffb86c'
red='#ff5555'
magenta='#ff79c6'
blue='#6272a4'
cyan='#8be9fd'
green='50fa7b'
i3lock \
--insidever-color=$selection$alpha \
--insidewrong-color=$selection$alpha \
--inside-color=$selection$alpha \
--ringver-color=$green$alpha \
--ringwrong-color=$red$alpha \
--ringver-color=$green$alpha \
--ringwrong-color=$red$alpha \
--ring-color=$blue$alpha \
--line-uses-ring \
--keyhl-color=$magenta$alpha \
--bshl-color=$orange$alpha \
--separator-color=$selection$alpha \
--verif-color=$green \
--wrong-color=$red \
--modif-color=$red \
--layout-color=$blue \
--date-color=$blue \
--time-color=$blue \
--screen 1 \
--blur 1 \
--clock \
--indicator \
--time-str="%H:%M:%S" \
--date-str="%A %e %B %Y" \
--verif-text="Checking..." \
--wrong-text="Wrong pswd" \
--noinput="No Input" \
--lock-text="Locking..." \
--lockfailed="Lock Failed" \
--radius=120 \
--ring-width=10 \
--pass-media-keys \
--pass-screen-keys \
--pass-volume-keys \
# --time-font="JetBrainsMono Nerd Font" \
# --date-font="JetBrainsMono Nerd Font" \
# --layout-font="JetBrainsMono Nerd Font" \
# --verif-font="JetBrainsMono Nerd Font" \
# --wrong-font="JetBrainsMono Nerd Font" \
# These last five lines are commented because they concern the font you want to use.
# JetBrainsMono Nerd Font is the font that was used in the screenshot.
# To specify a favorite font, just uncomment the five lines and replace the parameter with the font you prefer.