4 ms·
The `xdotool` is available in the https://brew.sh https://brew.sh so you can just use the provided `desktop-pause.sh` script with a shortcut which does exactly
by vermaden 8y ago
The `xdotool` is available in the https://brew.sh https://brew.sh so you can just use the provided `desktop-pause.sh` script with a shortcut which does exactly that - "grabs the active window and sends stop/continue signals to that window".
- hultner 8y agoDoes this work for Aqua applications as well? I'm thinking we'd like to use something like Hammerspoon or AppleScript to fetch the PID of the currently focused window. https://www.hammerspoon.org https://www.hammerspoon.org