xsettingsd: fix selected dpi

This commit is contained in:
Vincent Bernat 2020-01-31 10:08:37 +01:00
parent 9eab93570d
commit 0d3dca998b

View file

@ -25,7 +25,7 @@ for info in $(xrandr --current \
done
# Use first screen DPI
dpi=${dpis## *}
dpi=${dpis%% *}
dpi=${dpi:-96}
echo "using ${dpi}dpi" >&2