dotfiles/scripts/lock-screen

42 lines
959 B
Plaintext
Raw Normal View History

2021-07-17 22:14:16 +02:00
#!/bin/sh
B='#00000000' # blank
C='#ffffff22' # clear ish
# D='#ff00ffcc' # default
# T='#ee00eeee' # text
# W='#880000bb' # wrong
# V='#bb00bbbb' # verifying
2022-03-01 14:07:01 +01:00
D="$(xrdb -query | grep ".color12" | cut -d":" -f2 | xargs)cc"
T="$(xrdb -query | grep ".color13" | cut -d":" -f2 | xargs)ee"
W="$(xrdb -query | grep ".color1" | cut -d":" -f2 | xargs)bb"
V="$(xrdb -query | grep ".color6" | cut -d":" -f2 | xargs)bb"
2021-07-17 22:14:16 +02:00
i3lock \
--insidever-color=$C \
--ringver-color=$V \
\
--insidewrong-color=$C \
--ringwrong-color=$W \
\
--inside-color=$B \
--ring-color=$D \
--line-color=$B \
--separator-color=$D \
\
--verif-color=$T \
--wrong-color=$T \
--time-color=$T \
--date-color=$T \
--layout-color=$T \
--keyhl-color=$W \
--bshl-color=$W \
\
--blur 5 \
--clock \
--indicator \
--time-str="%H:%M:%S" \
--date-str="%A, %m %Y" \
--keylayout 1 \