Quickly toggling widgets on Sonmoa

Spurred by MacSparky’s post the other day about hiding Sonoma’s desktop widgets, I went looking for a quicker and more robust way to do it (avoid GUI scripting.)

I put together a post with the details, but the quick version is to use defaults:

defaults write com.apple.WindowManager "StandardHideWidgets" -bool "false" && killall WindowManager

There’s a follow-up post, too, detailing how to create a terminal alias to toggle widgets which I’m sure will be appreciated by Automators fans.


PS - I posted this on MPU forum too, but if that’s frowned upon I’ll take it down!