Toggle Dark Mode and System Wallpaper in Keyboard Maestro 9

Just been exploring some of the new functionality in Keyboard Maestro version 9 and thought I’d share the macro in the attached image that allows me to toggle the Mojave system dark mode and set the desktop wallpaper to a matching light or dark image at the press of a single function key.

I was impressed that it’s now possible to do this all in Keyboard Maestro with a few simple steps where previously it would have required an excursion to AppleScript or similar.