mirror of
https://git.adityakumar.xyz/betterlockscreen-openrc.git
synced 2024-11-12 19:59:43 +00:00
Add support to change default font (#96)
This commit is contained in:
parent
839a3746d2
commit
4edcd0c452
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ init_filenames() {
|
||||||
timecolor=ffffffff
|
timecolor=ffffffff
|
||||||
datecolor=ffffffff
|
datecolor=ffffffff
|
||||||
loginbox=00000066
|
loginbox=00000066
|
||||||
|
font="sans-serif"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# create folder in ~/.cache/i3lock directory
|
# create folder in ~/.cache/i3lock directory
|
||||||
|
@ -87,6 +88,7 @@ lock() {
|
||||||
--ringvercolor=$ringvercolor --ringwrongcolor=$ringwrongcolor --indpos='x+280:h-70' \
|
--ringvercolor=$ringvercolor --ringwrongcolor=$ringwrongcolor --indpos='x+280:h-70' \
|
||||||
--radius=20 --ring-width=4 --veriftext='' --wrongtext='' \
|
--radius=20 --ring-width=4 --veriftext='' --wrongtext='' \
|
||||||
--verifcolor="$verifcolor" --timecolor="$timecolor" --datecolor="$datecolor" \
|
--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
|
--noinputtext='' --force-clock $lockargs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue