From 5a2fbbadddfa5cfe557901efb62385f6c85e270f Mon Sep 17 00:00:00 2001 From: Philipp Hemmelmayr Date: Sat, 5 Jan 2019 18:44:47 +0100 Subject: [PATCH] removed warnings --- betterlockscreen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/betterlockscreen b/betterlockscreen index 2ef6208..be67bd0 100755 --- a/betterlockscreen +++ b/betterlockscreen @@ -125,7 +125,7 @@ logical_px() { local DPI=$(xrdb -query | awk '/Xft.dpi/ {print $2}') # return the default value if no DPI is set - if [ -z "$DPI"]; then + if [ -z "$DPI" ]; then echo $1 else local SCALE=$(echo "scale=2; $DPI / 96.0" | bc)