# uwsm environment for graphical (Wayland) sessions, installed to
# /etc/xdg/uwsm/env. uwsm sources this (POSIX sh) before starting the
# compositor and exports the variables to the whole systemd/D-Bus graphical
# session. See the uwsm README and `man 5 environment.d`.
#
# Note: GTK_THEME and QT_STYLE_OVERRIDE are NOT set here; they ship in
# /etc/environment.d/ (aptosid-settings-gtk-theme, aptosid-settings-qt-style)
# and are already picked up by the systemd user session. XDG_* variables are
# set by uwsm automatically.

# Cursor theme. xcursor is used by GTK/Qt/XWayland clients and as Hyprland's
# hyprcursor fallback (see also env-hyprland for the HYPRCURSOR_* variables).
export XCURSOR_THEME=Bibata-Modern-Ice
export XCURSOR_SIZE=24

# Run Qt apps natively on Wayland (fall back to xcb/Xwayland) and let the
# compositor manage their decorations instead of Qt drawing its own.
export QT_QPA_PLATFORM="wayland;xcb"
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
