Email or username:

Password:

Forgot your password?
Top-level
bouncepaw πŸ„

@nikitonsky Cool! I bound a short script to something some time:

osascript -e 'tell application "System Events" to tell appearance preferences to set dark mode to not dark mode'

I see that you are using a similar spell in the code:

github.com/tonsky/DarkModeTogg

Ah, if only I didn't solve the problem myself some time ago! I want to use your app, but I don't need it...

2 comments
Niki Tonsky

@bouncepaw crazy how there’s no system API but Apple Script saves the day once again

bouncepaw πŸ„

@nikitonsky I think Apple Script is the system API. I actually think there should be more Apple Script.

Go Up