Update enable-lightmode.sh

This commit is contained in:
Michael
2021-11-02 16:27:18 +00:00
parent 912e4256f4
commit 8167cf2e23

View File

@@ -1,10 +1,10 @@
#!/bin/bash
#
sudo -u $(stat -f "%Su" /dev/console) /bin/sh <<'END'
# if Mosyle preface sudo -u $(stat -f "%Su" /dev/console) /bin/sh <<'END'
osascript <<EOD
tell application "System Events"
tell appearance preferences
set dark mode to false # Can be one of: true, false, not dark
set dark mode to false
end tell
end tell
EOD