Method for adding a custom application launcher given non-gnome?

I want to create a custom application launcher button for the task bar, that would run a bash script in terminal with an icon.
In gnome shell I’d create an application launcher, but they don’t work in the Jetson environment due to not using gnome.

Is there a simple way to do this?

This turned out to be an unrelated issue, masked by the lack of error messages when desktop launchers don’t work

For more information on how to do it