mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-02-03 06:03:26 +00:00
9 lines
230 B
Bash
9 lines
230 B
Bash
#!/bin/bash
|
|
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
|
|
end tell
|
|
end tell
|
|
EOD |