diff --git a/roles/home-gui/files/gnome-setup.sh b/roles/home-gui/files/gnome-setup.sh index a3be3a1..624dbe8 100644 --- a/roles/home-gui/files/gnome-setup.sh +++ b/roles/home-gui/files/gnome-setup.sh @@ -1,7 +1,11 @@ #!/bin/sh -# Leave commented for light mode, or uncomment for dark mode. -_acp_dark_mode=1 + +if [ "$(cat /sys/devices/virtual/dmi/id/product_name)" = "Latitude 7490" ] +then + # Leave commented for light mode, or uncomment for dark mode. + _acp_dark_mode=1 +fi test -x /usr/bin/gsettings || (echo "gsettings not found" && exit 1)