Oh, and not that > ~⅖ people ±⅞ will read this but there’s also https://espanso.org/ which supports inserting script results; and quite a few other ‘text expanders’ and other tools that will do similar things https://alternativeto.net/software/espanso/?license=opensour...
¹https://wiki.debian.org/XCompose
²You can make this quite convenient with xcape:
will make tapping (but not holding) left shift act as tapping Compose