From 9b08be176e6a2ed77430825eac715047acfffd52 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 3 Jun 2024 17:16:25 -0700 Subject: [PATCH] Fix match and condition --- install/fix-framework-text-scaling.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/fix-framework-text-scaling.sh b/install/fix-framework-text-scaling.sh index c5d3be6..b8e5642 100644 --- a/install/fix-framework-text-scaling.sh +++ b/install/fix-framework-text-scaling.sh @@ -1,6 +1,6 @@ -COMPUTER_MAKER=$(sudo dmidecode -t system | grep 'Manufacturer' | awk '{print $2}') +COMPUTER_MAKER=$(sudo dmidecode -t system | grep 'Manufacturer:' | awk '{print $2}') SCREEN_RESOLUTION=$(xrandr | grep '*+' | awk '{print $1}') -if [ "$COMPUTER_MAKER" == "Framework" && "$SCREEN_RESOLUTION" == "2256x1504" ]; then +if [ "$COMPUTER_MAKER" == "Framework" ] && [ "$SCREEN_RESOLUTION" == "2256x1504" ]; then gsettings set org.gnome.desktop.interface text-scaling-factor 0.8 fi