-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblurlock
executable file
·67 lines (62 loc) · 1.38 KB
/
blurlock
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
60
61
62
63
64
65
66
67
#!/bin/sh
#-- i3lock (overwrite) --#
# Lock the screen using a blur effect.
# Dependencies:
# - i3lock-color
# - emos (optional)
# - fold (optional)
# ~ ADIGEN
. "${HOME}/.cache/wal/colors.sh"
BLANK="${color0}00"
CLEAR="${color0}00"
DEFAULT="${color5}"
TEXT="${color5}"
WRONG="${color0}"
VERIFYING="${color7}"
# Sleeping cause the poermenu has to disappear before it takes the screenshot for blurring
# sleep 1
i3lock \
--radius 150 \
--ring-width 9 \
\
--insidever-color=$CLEAR \
--ringver-color=$VERIFYING \
\
--insidewrong-color=$CLEAR \
--ringwrong-color=$WRONG \
\
--inside-color=$BLANK \
--ring-color=$DEFAULT \
--line-color=$BLANK \
--separator-color=$DEFAULT \
\
--verif-color=$TEXT \
--wrong-color=$TEXT \
--time-color=$TEXT \
--date-color=$TEXT \
--layout-color=$TEXT \
--keyhl-color=$WRONG \
--bshl-color=$WRONG \
--greeter-color=$TEXT \
\
--screen 1 \
--blur 10 \
--clock \
\
--greeter-text="`emos | fold -w 50 -s`" \
--greeter-font=Iosevka \
--greeter-align 1 \
--greeter-pos="600:270" \
\
--time-str="%H:%M:%S" \
--date-str="%A, %Y-%m-%d" \
--date-font=Iosevka \
--time-font=Iosevka \
--time-size=50 \
--date-size=20 \
\
--verif-text="Verifying" \
--wrong-text="Incorrect" \
--noinput-text="Empty" \
\
--indicator \