These are pretty easy to set up, it uses functionality but into the Shortcuts.app
1 Open shortcuts.app and click the + icon to create a new shortcut.
2 The new shortcut will do anything you define when its clicked in the dock, in this example we will pause all Trypa Triggers, click the Apps