Hello! I previously used some apps that helped hide the visibility of the macOS desktop but wanted to take on creating an Alfred workflow that would do the work for me.
All of the existing workflows I found relied on typing out commands to explicitly state if you wanted to show or hide the desktop icons. I think that's silly. Instead, this workflow first looks up whether the desktop is currently hidden, and then uses that data to do the opposite. No typing out explicit commands, just use the same keyboard shortcut to toggle the desktop on and off. Easy peasy.
The recommended mapping is:
command + .
This hot key doesn’t conflict with system defaults and also logically mirrors the hot key for showing and hiding hidden files in the Finder (command + shift + .) The hotkey can easily be set by editing the workflow in the Alfred preferences UI.
Grab it from Github or Packal.
Hope you enjoy!