xsettingsd: fix typo in case

This commit is contained in:
Vincent Bernat 2020-01-31 00:00:07 +01:00
parent c944c7855d
commit 139af6fed5

View file

@ -10,7 +10,7 @@ xrandr --current \
# For laptop screens, we need to apply a correction factor
case $output in
eDP-1|eDP1) corrected=$(($dpi * 96/144)) ;;
*) corrected=$dpi
*) corrected=$dpi ;;
esac
# Authorized factors: 1, 1.5, 2, 3, 4, ...
rounded=$(((corrected + 24) / 48 * 48))