Add support to change default font (#96)

This commit is contained in:
Lélio Brun 2019-01-29 13:55:55 +01:00 committed by Pavan Jadhaw
parent 839a3746d2
commit 4edcd0c452

View file

@ -31,6 +31,7 @@ init_filenames() {
timecolor=ffffffff
datecolor=ffffffff
loginbox=00000066
font="sans-serif"
fi
# create folder in ~/.cache/i3lock directory
@ -87,6 +88,7 @@ lock() {
--ringvercolor=$ringvercolor --ringwrongcolor=$ringwrongcolor --indpos='x+280:h-70' \
--radius=20 --ring-width=4 --veriftext='' --wrongtext='' \
--verifcolor="$verifcolor" --timecolor="$timecolor" --datecolor="$datecolor" \
--time-font="$font" --date-font="$font" --layout-font="$font" --verif-font="$font" --wrong-font="$font" --greeter-font="$font" \
--noinputtext='' --force-clock $lockargs
}