aboutsummaryrefslogtreecommitdiff
path: root/betterlockscreen
diff options
context:
space:
mode:
authorPavan Jadhaw <pavanjadhaw96@gmail.com>2018-04-11 19:18:00 +0530
committerGitHub <noreply@github.com>2018-04-11 19:18:00 +0530
commitc120c12cf160133ef85da771c9cd2160a9a23c8e (patch)
tree0b5056d3f061657d00ff0f921907fa98e16ee088 /betterlockscreen
parent73bff1ca380d06b2a840700e5d500b1d05e06713 (diff)
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
Diffstat (limited to 'betterlockscreen')
-rwxr-xr-xbetterlockscreen7
1 files changed, 4 insertions, 3 deletions
diff --git a/betterlockscreen b/betterlockscreen
index bc44800..51acd92 100755
--- a/betterlockscreen
+++ b/betterlockscreen
@@ -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
}