Jump to content

toebba

Member
  • Content Count

    1
  • Joined

  • Last visited

  1. This is the script completely without the Alfred theme switching part: function run(args) { args = args ? args : [] var systemEvents = Application("System Events") if (args && args == 'dark') { systemEvents.appearancePreferences.darkMode = true } else if (args && args == 'light') { systemEvents.appearancePreferences.darkMode = false } else { systemEvents.appearancePreferences.darkMode = !systemEvents.appearancePreferences.darkMode() } }
×
×
  • Create New...