Set dark mode only on Latitude 7490
This commit is contained in:
parent
4588cf86b9
commit
8eeb231774
1 changed files with 6 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue