A script that shows if a systemd service is running. It uses journalctl
to get realtime output.
Make sure that your user is member of the group systemd-journal
to read all events.
[module/isrunning-service]
type = custom/script
exec = ~/polybar-scripts/isrunning-service.sh
tail = true