2016-10-14 21:03:38 -04:00
|
|
|
#!/bin/zsh
|
|
|
|
#scrot /tmp/screenshot.png
|
|
|
|
#i3lock
|
|
|
|
#convert /tmp/screenshot.png -blur 0x5 /tmp/screenshot.png
|
|
|
|
#convert /tmp/screenshot.png -scale 10% -scale 1000% /tmp/screenshot.png
|
|
|
|
#pkill i3lock && i3lock -i /tmp/screenshot.png
|
|
|
|
|
|
|
|
B='#00000000' # blank
|
|
|
|
C='#ffffff22' # clear ish
|
|
|
|
D='#ff00ffcc' # default
|
|
|
|
T='#ee00eeee' # text
|
|
|
|
W='#880000bb' # wrong
|
|
|
|
V='#bb00bbbb' # verifying
|
|
|
|
|
|
|
|
./i3lock \
|
|
|
|
--insidevercolor=$C \
|
|
|
|
--ringvercolor=$V \
|
|
|
|
\
|
|
|
|
--insidewrongcolor=$C \
|
|
|
|
--ringwrongcolor=$W \
|
|
|
|
\
|
|
|
|
--insidecolor=$B \
|
|
|
|
--ringcolor=$D \
|
|
|
|
--linecolor=$B \
|
|
|
|
--separatorcolor=$D \
|
|
|
|
\
|
|
|
|
--textcolor=$T \
|
2017-05-29 12:22:36 -04:00
|
|
|
--timecolor=$T \
|
|
|
|
--datecolor=$T \
|
2016-10-14 21:03:38 -04:00
|
|
|
--keyhlcolor=$W \
|
|
|
|
--bshlcolor=$W \
|
|
|
|
\
|
|
|
|
--screen 0 \
|
2017-05-29 12:22:36 -04:00
|
|
|
--blur 5 \
|
2016-10-14 21:03:38 -04:00
|
|
|
--clock \
|
|
|
|
--timestr="%H:%M:%S" \
|
2016-10-14 22:06:43 -04:00
|
|
|
--datestr="%A, %m %Y" \
|
|
|
|
|