uebersicht
uebersicht copied to clipboard
Toggle widget with keyboard shortcut
Right now, it is possible to hide and show widgets through the menu bar app. This is fine, but it would be faster to press a keyboard shortcut to show selected widgets. Say you have a lot of widgets, but you don't want a cluttered desktop. You could press a keyboard shortcut to show those widgets, and then press again to hide them.
Have you considered using https://pqrs.org/osx/karabiner/ to set up macros which could for example move widgets in and out of your 'active widgets' folder or even change their behaviour by changing files read/processed by a widget?
here's a script where i toggle an ubersicht widget that i created by symlinking/unlinking it to the widgets directory:
https://github.com/zzzeyez/bin/blob/master/togglepecan
and then i personally use skhd
to create keybinds that run this program and many others. it's very simple
https://github.com/koekeishiya/skhd