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

Environment Variables #171

Open
Moerliy opened this issue Mar 31, 2023 · 6 comments
Open

Environment Variables #171

Moerliy opened this issue Mar 31, 2023 · 6 comments

Comments

@Moerliy
Copy link
Contributor

Moerliy commented Mar 31, 2023

To make it quick: On the wiki for environment variables at QT_QPA_PLATFORM="wayland;xcb" the quotation mark should be deleted. They're already gone below QT Variables headline.

@vaxerski
Copy link
Member

well the issue is that if you do export then the quotes need to be there, but if you use hyprland's env they can't be there.

@Moerliy
Copy link
Contributor Author

Moerliy commented Mar 31, 2023

I noticed that too but also got trick by it because I was copy pasting 🫠. I mean it already says it above but I think it should be uniform.
Btw. now that they added the env keyword is using the wrappedhl and the old way of exporting env variables even advisable?

@vaxerski
Copy link
Member

they

you mean, me

is using the wrappedhl and the old way of exporting env variables even advisable?

it's not advisable, it's legacy

@Moerliy
Copy link
Contributor Author

Moerliy commented Mar 31, 2023

My bad, I was just generally speaking.
Maybe you should change all the examples that are shown, to the syntax you would use in the config then.

zspher added a commit to zspher/hyprland-dot that referenced this issue May 7, 2023
`wrappedhl` has been depreciated as in [comment](hyprwm/hyprland-wiki#171 (comment))

use `hyprland.conf` environmental variables instead
@hughesjs
Copy link

Along similar lines, this page doesn't explain how exactly to add env vars that include commas in them? How would I do that if I'm not using quotes..?

@whispcat
Copy link

Along similar lines, this page doesn't explain how exactly to add env vars that include commas in them? How would I do that if I'm not using quotes..?

I guess just simply remove quotes should works e.g. QT_QPA_PLATFORM,wayland;xcb and GDK_BACKEND,wayland,x11 because my environment variables showed correctly through the command printenv that way.

BTW, the environment variable section also confused me a little bit and needs more detail.

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

4 participants