Environment variables: fix name

This commit is contained in:
Mihai Fufezan 2022-10-20 19:58:28 +03:00
parent 5be88fbc2e
commit cdb9df6e1e
No known key found for this signature in database
GPG key ID: 5899325F2F120900

View file

@ -1,10 +1,10 @@
We have [previously mentioned](../Getting-Started/Quick-start/#wrapping-the-launcher-recommended) using a wrapper to launch Hyprland. Whether you We have [previously mentioned](../Getting-Started/Quick-start/#wrapping-the-launcher-recommended) using a wrapper to launch Hyprland. Whether you
start Hyprland through TTY or a Display Manager, it is recommended to use a wrapper. start Hyprland through TTY or a Display Manager, it is recommended to use a wrapper.
As such, you can pass certain environmental variables to improve Wayland compatibility, or As such, you can pass certain environment variables to improve Wayland compatibility, or
simply change certain aspects of your desktop. simply change certain aspects of your desktop.
Please avoid putting those environmental variables in /etc/environment. That will cause all Please avoid putting those environment variables in /etc/environment. That will cause all
sessions (including Xorg ones) to pick up your wayland-specific environmental on traditional sessions (including Xorg ones) to pick up your wayland-specific environment on traditional
Linux distros. Linux distros.
## XDG Specifications ## XDG Specifications
@ -13,7 +13,7 @@ Linux distros.
- `XDG_SESSION_TYPE=wayland` - `XDG_SESSION_TYPE=wayland`
- `XDG_SESSION_DESKTOP=Hyprland` - `XDG_SESSION_DESKTOP=Hyprland`
XDG specific environmental variables are often detected through portals and applications that may XDG specific environment variables are often detected through portals and applications that may
set those for you, however it is a good idea to provide them in your wrapper script as a fail-safe. set those for you, however it is a good idea to provide them in your wrapper script as a fail-safe.
## QT Variables ## QT Variables