removed warnings

This commit is contained in:
Philipp Hemmelmayr 2019-01-05 18:44:47 +01:00 committed by GitHub
parent e33fc1dacb
commit 5a2fbbaddd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)