# This file is sourced by Xsession(5), not executed.

if [ "x$XDG_SESSION_DESKTOP" == "xukui" ]; then
    export GTK_USE_PORTAL=1
    export GLIB_FORCE_USE_PORTAL=1
    export GLIB_USE_KYLIN_PROCESS_MANAGER=1

    # bug 148824
    # Disable GTK3 overlay scrollbars
    # export GTK_OVERLAY_SCROLLING=0

    # QT apps to use GTK styling
    # export QT_QPA_PLATFORMTHEME=ukui

    # Change to GDK_SCALE=2 for experimental HiDPI support.
    # Requires reboot.
    # export GDK_SCALE=1
fi
