Using some answers I found here: Add a custom text to GNOME panel
I have tried making my own applet but I have not succeeded.
Does someone know of an application that works in Ubuntu 18.04?
There used to be an application for 17.10 that's called indicator-ip by bovender. But it doesn't work for 18.04