hyprland-wiki icon indicating copy to clipboard operation
hyprland-wiki copied to clipboard

Environment Variables

Open Moerliy opened this issue 2 years ago • 6 comments

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.

Moerliy avatar Mar 31 '23 10:03 Moerliy

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.

vaxerski avatar Mar 31 '23 13:03 vaxerski

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?

Moerliy avatar Mar 31 '23 13:03 Moerliy

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

vaxerski avatar Mar 31 '23 14:03 vaxerski

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.

Moerliy avatar Mar 31 '23 14:03 Moerliy

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..?

hughesjs avatar Jun 18 '23 17:06 hughesjs

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.

whispcat avatar Jul 12 '23 14:07 whispcat