Fix match and condition
This commit is contained in:
parent
2bb38d765f
commit
9b08be176e
@ -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}')
|
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
|
gsettings set org.gnome.desktop.interface text-scaling-factor 0.8
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user