A simple insomnia plugin that allows access to system environment variables from within insomnia.
Access a system environment variable within insomnia.
- Get a list of environment variables:
$ env
USERNAME=etauker
HOME=/home/etauker
...
Access custom environment variable within insomnia.
- Set the variable from the same shell that you use to open insomnia (MacOS example below)
$ SOME_TOKEN=3fc345d2-9dd8-48e8-a178-3c91c867cc41 /Applications/Insomnia.app/Contents/MacOS/Insomnia