workspaces icon indicating copy to clipboard operation
workspaces copied to clipboard

Pass Environment Variables to "Custom Command"

Open 73 opened this issue 5 years ago • 1 comments

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!

73 avatar Nov 06 '20 08:11 73

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

DevAlien avatar Nov 06 '20 09:11 DevAlien