dot/.scripts/.runhyprland.sh

19 lines
547 B
Bash
Executable file

#!/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 GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export XDG_SESSION_TYPE=wayland
export XCURSOR_SIZE=24
LIBSEAT_BACKEND=logind /usr/bin/Hyprland
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