From 368b30495d2e341875b863cc54291cd18ca3eeff Mon Sep 17 00:00:00 2001 From: Philipp Hemmelmayr Date: Thu, 26 Apr 2018 11:27:15 +0200 Subject: add nofork argument when locking without suspend (#48) --- betterlockscreen | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/betterlockscreen b/betterlockscreen index 51acd92..bf94723 100755 --- a/betterlockscreen +++ b/betterlockscreen @@ -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 -- cgit v1.2.3