summaryrefslogtreecommitdiffstats
path: root/etc/X11/Xsession.d/56xebian-session
blob: 91a59aec3ee25978ada97ad5432386562eb28782 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# Set default environment vars in Xebian
if [ "$DESKTOP_SESSION" = xebian ]; then
    # Disable GTK 3.16 overlay scrollbars
    export GTK_OVERLAY_SCROLLING=0
    # Qt5 apps to use GTK style
    export QT_QPA_PLATFORMTHEME=gtk2
    if [ -n "$DBUS_SESSION_BUS_ADDRESS" ] && \
        command -v dbus-update-activation-environment >/dev/null; then
            dbus-update-activation-environment --verbose --systemd GTK_OVERLAY_SCROLLING QT_QPA_PLATFORMTHEME
    fi
fi