Hide Desktop - Toggle

An Alfred Workflow


Short Description

Toggle the visibility of the desktop on macOS

Last Updated

25 May 2019

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes No No No No
 

Version

1.0
 

Bundle ID

com.boyd.hidedesktop
 

Author

An Alfred workflow to toggle the visibility of desktop icons in macOS.

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 suggested keyboard binding is command + . to toggle the visibility of the desktop. This maps logically to the system default shortcut to show / hide hidden files in the Finder (command + shift + .). You can set whatever key binding you prefer by editing the workflow in the WordFlows section of the Alfred preferences UI.

Screenshots