29 lines
628 B
Bash
Executable file
29 lines
628 B
Bash
Executable file
#!/bin/sh
|
|
|
|
cd ~
|
|
|
|
# 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
|
|
|
|
# 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
|
|
export WLR_NO_HARDWARE_CURSORS=1
|
|
|
|
if lsmod | grep nvidia; then
|
|
export LIBVA_DRIVER_NAME=nvidia
|
|
export XDG_SESSION_TYPE=wayland
|
|
# export GBM_BACKEND=nvidia-drm
|
|
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
|
fi
|
|
|
|
exec Hyprland
|