DevAlien / workspaces

Workspaces app for linux elementaryos gtk
GNU General Public License v3.0
79 stars 13 forks source link

Pass Environment Variables to "Custom Command" #51

Open 73 opened 4 years ago

73 commented 4 years ago

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!

DevAlien commented 4 years ago

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