Set dark mode only on Latitude 7490

This commit is contained in:
Anthony Rose 2024-06-06 13:26:22 +01:00
parent 4588cf86b9
commit 8eeb231774

View file

@ -1,7 +1,11 @@
#!/bin/sh #!/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) test -x /usr/bin/gsettings || (echo "gsettings not found" && exit 1)