diff --git a/betterlockscreen b/betterlockscreen index ffa9dfe..40d9589 100755 --- a/betterlockscreen +++ b/betterlockscreen @@ -278,7 +278,7 @@ postlock() { lockselect() { echof act "Running prelock..." - prelock & + prelock case "$1" in dim) if [ -f "$CUR_L_DIM" ]; then lock "$CUR_L_DIM"; else failsafe; fi ;; @@ -291,7 +291,7 @@ lockselect() { esac echof act "Running postlock..." - postlock & + postlock } # calculate adjustments for hidpi displays