dotfiles/.local/bin/lock
2024-04-23 07:46:41 +05:00

57 lines
1.3 KiB
Bash
Executable File

#!/bin/bash
picture=$HOME/Pictures/lock.png
fg=#c0caf5
wrong=#df5b61
date=#c0caf5
verify=#9ece6a
# highlight=#565f89
# pkill -u "$USER" -USR1 dunst
i3lock -n --force-clock \
-i "$picture" \
-F -e --indicator --radius=15 \
--ring-width=25 \
--inside-color="$fg" \
--ring-color="$fg" \
--insidever-color="$verify" \
--ringver-color="$verify" \
--insidewrong-color="$wrong" \
--ringwrong-color="$wrong" \
--line-uses-inside \
--keyhl-color="$verify" \
--separator-color="$verify" \
--bshl-color="$verify" \
--time-str="%H:%M" \
--time-size=90 \
--date-str="%a, %d %b" \
--date-size=28 \
--verif-text="Verifying Password..." \
--wrong-text="Wrong Password!" \
--noinput-text="" \
--greeter-text="Type the password to Unlock" \
--ind-pos="215:390" \
--time-font="Sofia Pro:style=Bold" \
--date-font="Sofia Pro" \
--verif-font="Sofia Pro" \
--greeter-font="Sofia Pro" \
--wrong-font="Sofia Pro" \
--verif-size=14 \
--greeter-size=14 \
--wrong-size=14 \
--time-pos="215:235" \
--date-pos="215:275" \
--greeter-pos="215:513" \
--wrong-pos="215:513" \
--verif-pos="215:423" \
--date-color="$date" \
--time-color="$date" \
--greeter-color="$fg" \
--wrong-color="$wrong" \
--verif-color="$verify" \
--verif-pos="215:513" \
--refresh-rate=0 \
--pass-media-keys \
--pass-volume-keys