dot/.scripts/.runhyprland.sh

21 lines
579 B
Bash
Raw Normal View History

2023-04-15 17:58:27 +02:00
#!/bin/bash
export XKB_DEFAULT_LAYOUT="pl"
export XKB_DEFAULT_OPTIONS="compose:rctrl"
export WLR_NO_HARDWARE_CURSORS=1
export _JAVA_AWT_WM_NONREPARENTING=1
export LIBVA_DRIVER_NAME=nvidia
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export XDG_SESSION_TYPE=wayland
export XCURSOR_SIZE=24
2023-07-22 23:09:34 +02:00
LIBSEAT_BACKEND=logind /usr/bin/Hyprland
2023-04-15 17:58:27 +02:00
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK