add nofork argument when locking without suspend (#48)

This commit is contained in:
Philipp Hemmelmayr 2018-04-26 11:27:15 +02:00 committed by Pavan Jadhaw
parent 95edc98852
commit 368b30495d

View file

@ -52,8 +52,7 @@ lock() {
--ringvercolor=$foreground --ringwrongcolor=$foreground --indpos="x+280:h-70" \
--radius=20 --ring-width=4 --veriftext="" --wrongtext="" \
--verifcolor="$foreground" --timecolor="$foreground" --datecolor="$foreground" \
--noinputtext="" \
--force-clock
--noinputtext="" --force-clock $lockargs
}
postlock() {
@ -171,6 +170,7 @@ case "$1" in
;;
-l | --lock)
lockargs="-n"
case "$2" in
"")
# default lockscreen