You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Works for me if I use AppleScript. So this could be a workaround for you if you have your shortcut trigger an AppleScript:
tellapplication"System Events"tell appearance preferences
set dark mode tonot dark mode
if dark mode thensetmodeto"dark"elsesetmodeto"light"end ifend tellend tell
TL;DR
If I change appearance using a shortcut defined in Shortcuts, the DARKMODE variable doesn't update.
To reproduce, set the shortcut like so:
Try running the app and displaying the $DARKMODE variable.
Expected behavior
$DARKMODE
variable is updated accordingly.Observed behavior
$DARKMODE
variable is retains its previous value and ignores system changes.Terraform Configuration
I don't know how to do this.
Terraform Version
I don't know how to do this.
Additional information
No response
The text was updated successfully, but these errors were encountered: