mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 20:55:59 +01:00
better envvars in the wrapper
This commit is contained in:
parent
5c9a5b32c0
commit
9b501cb3e8
1 changed files with 17 additions and 2 deletions
|
@ -42,14 +42,29 @@ In it, put:
|
||||||
|
|
||||||
cd ~
|
cd ~
|
||||||
|
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
# Log WLR errors and logs to the hyprland log. Recommended
|
||||||
|
export HYPRLAND_LOG_WLR=1
|
||||||
|
|
||||||
|
# Tell XWayland to use a cursor theme
|
||||||
|
export XCURSOR_THEME=Bibata-Modern-Classic
|
||||||
|
|
||||||
|
# Set a cursor size
|
||||||
export XCURSOR_SIZE=24
|
export XCURSOR_SIZE=24
|
||||||
|
|
||||||
|
# Example IME Support: fcitx
|
||||||
|
export GTK_IM_MODULE=fcitx
|
||||||
|
export QT_IM_MODULE=fcitx
|
||||||
|
export XMODIFIERS=@im=fcitx
|
||||||
|
export SDL_IM_MODULE=fcitx
|
||||||
|
export GLFW_IM_MODULE=ibus
|
||||||
|
|
||||||
exec Hyprland
|
exec Hyprland
|
||||||
```
|
```
|
||||||
|
|
||||||
You can add as many exported envvars as you need (Nvidia users might need a
|
You can add as many exported envvars as you need (Nvidia users might need a
|
||||||
lot), but it's recommended to have _at least_ the shown two.
|
lot)
|
||||||
|
|
||||||
|
The shown envvars are examples.
|
||||||
|
|
||||||
You should now launch Hyprland with `wrappedhl` instead of `Hyprland`. Make sure
|
You should now launch Hyprland with `wrappedhl` instead of `Hyprland`. Make sure
|
||||||
to copy your `.desktop` file in `/usr/share/wayland-sessions/` and edit it if you use a
|
to copy your `.desktop` file in `/usr/share/wayland-sessions/` and edit it if you use a
|
||||||
|
|
Loading…
Reference in a new issue