|
|
|
|
|
by m463
2022 days ago
|
|
I do something similar, but it is networked so when a compile is done on my dev machine, my main desktop shows a notification using terminal-notifier. It's very old and very hacky. There are probably apps that do this so much better. /Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier -group not -title "$t" -subtitle "$st" -message "$m" -execute "$HOME/bin/gospace 1"
gospace ends up doing: osascript -e 'tell application "System Events" to key code 18 using option down'
which presses option-1 which switches to space 1 |
|