Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass Environment Variables to "Custom Command" #51

Open
73 opened this issue Nov 6, 2020 · 1 comment
Open

Pass Environment Variables to "Custom Command" #51

73 opened this issue Nov 6, 2020 · 1 comment

Comments

@73
Copy link

73 commented Nov 6, 2020

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
Copy link
Owner

DevAlien commented Nov 6, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants