Make it more explicit

This commit is contained in:
David Heinemeier Hansson 2024-06-03 17:13:14 -07:00
parent 7cc1b15030
commit 2bb38d765f

View File

@ -1,3 +1,6 @@
if [ $(xrandr | grep '*+' | awk '{print $1}') == "2256x1504" ]; then
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
gsettings set org.gnome.desktop.interface text-scaling-factor 0.8
fi