-
Notifications
You must be signed in to change notification settings - Fork 0
/
blurlock.sh
30 lines (22 loc) · 897 Bytes
/
blurlock.sh
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
#!/usr/bin/env bash
# Depends on i3lock-color
DATE=$(date +"%A, %B %-d")
ringcolor=FFFFFFFF
insidecolor=00000000
linecolor=00000000
separatorcolor=00000000
ringvercolor=00000000
insidevercolor=00000000
ringwrongcolor=FF0000FF
insidewrongcolor=00000000
keyhlcolor=AAAAAAFF
bshlcolor=AAAAAAFF
i3lock "$ARGS" -t -B 0x8 \
--clock --force-clock --timepos="w/2:h/2" --timesize=96 --timecolor=FFFFFFFF \
--datestr="$DATE" --datepos="tx:ty+80" --datesize=32 --datecolor=FFFFFFFF \
--indpos="w/2-r/2:h-r*2" --radius 20 \
--ringcolor=$ringcolor --insidecolor=$insidecolor --linecolor=$linecolor \
--separatorcolor=$separatorcolor --ringvercolor=$ringvercolor \
--insidevercolor=$insidevercolor --veriftext='' --ringwrongcolor=$ringwrongcolor \
--insidewrongcolor=$insidewrongcolor --wrongtext='' --keyhlcolor=$keyhlcolor \
--bshlcolor=$bshlcolor --noinputtext=''