xsettings: on AMD GPU, eDP is just eDP

This commit is contained in:
Vincent Bernat 2022-09-13 23:46:51 +02:00
parent a7116145b7
commit 7f40044fd0

View file

@ -11,7 +11,7 @@ showdpi() {
# For laptop screens, we need to apply a correction factor as the
# screen is nearer
case $output in
eDP-1|eDP1) corrected=$((dpi * 96/144)) ;;
eDP*) corrected=$((dpi * 96/144)) ;;
*) corrected=$dpi ;;
esac