DevAlien/workspaces

Pass Environment Variables to "Custom Command"

73 opened this issue · 1 comments

73 commented

Hi,

I am new to Workspaces but I like it. Thank you very much!
When I try to run a custom command like:

 /usr/bin/evince /home/user/Documents/file.pdf

I starts my pdf viewer just fine. However, when I want to pass an environment variable on like this:

GTK_THEME=Adwaita:dark  /usr/bin/evince /home/user/Documents/file.pdf

Evince does not start any more.

It there a (correct) way to pass environment variables to the custom command?

Thank you very much!

Hi I would have to test it out and see how we can pass and ENV var