dotfiles/tools/.local/bin/lockscreen

56 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-10-02 21:41:43 +01:00
#!/usr/bin/bash
if [ $1 ]; then
lockbg="$1"
else
# lockbg=$(find $HOME/Pictures/wallpapers/*.png -type f | shuf -n 1)
lockbg="$HOME/.config/awesome/saturnalia/wallpaper.png"
fi
B='#282a36cc' # blank
C='#34353eCC' # clear ish
D='#f3f99dCC' # default
T='#e2e4e5ee' # text
W='#34353eCC' # wrong
H='#57c7ffCC' # Highlight
V='#ff5c57bb' # verifying
i3lock -n \
--insidevercolor=$C \
--ringvercolor=$V \
--insidewrongcolor=$C \
--ringwrongcolor=$W \
--insidecolor=$B \
--ringcolor=$D \
--linecolor=$B \
--separatorcolor=$D \
--verifcolor=$T \
--wrongcolor=$T \
--timecolor=$T \
--datecolor=$T \
--layoutcolor=$T \
--keyhlcolor=$H \
--bshlcolor=$W \
--image="$lockbg" \
--tiling \
--keylayout 0 \
--pass-media-keys \
--timestr='%H:%M' \
--time-font='Arimo Bold' \
--date-font='Arimo Bold' \
--timesize=48 \
--datesize=18 \
--indicator \
--datestr="%A, %d %b" \
--force-clock \
--refresh-rate=30 \
--radius=100 \
--ring-width=5 \
--veriftext='' \
--wrongtext='' \
--noinputtext='' \
--locktext='' \
--lockfailedtext='' \
--show-failed-attempts \
--ignore-empty-password