Make betterlockscreen compatible with wip rewrite of i3lock-color (#37)

* Changed time position property to be compatible with i3lock update

* Also changed date position variable

* Use latest text color properties

* Remove no input text
This commit is contained in:
Pavan Jadhaw 2018-04-11 19:18:00 +05:30 committed by GitHub
parent 73bff1ca38
commit c120c12cf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,15 +43,16 @@ lock() {
foreground=ffffffff
i3lock \
-t -i "$1" \
--timepos="x-90:h-ch+30" \
--datepos="tx+24:ty+25" \
--timepos="110:h-70" \
--datepos="135:h-45" \
--clock --datestr "Type password to unlock..." \
--insidecolor=$background --ringcolor=$foreground --line-uses-inside \
--keyhlcolor=$letterEnteredColor --bshlcolor=$letterRemovedColor --separatorcolor=$background \
--insidevercolor=$passwordCorrect --insidewrongcolor=$passwordIncorrect \
--ringvercolor=$foreground --ringwrongcolor=$foreground --indpos="x+280:h-70" \
--radius=20 --ring-width=4 --veriftext="" --wrongtext="" \
--textcolor="$foreground" --timecolor="$foreground" --datecolor="$foreground" \
--verifcolor="$foreground" --timecolor="$foreground" --datecolor="$foreground" \
--noinputtext="" \
--force-clock
}