Set XDG_CURRENT_DESKTOP to GNOME

This enables using Gnome Settings outside of Gnome
This commit is contained in:
Marcel Kapfer 2018-02-23 10:03:49 +01:00
parent a4b30b0b05
commit cc97ab119f
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -68,6 +68,10 @@ if test -z $DEBEMAIL
set -Ux DEBEMAIL "opensource@mmk2410.org" set -Ux DEBEMAIL "opensource@mmk2410.org"
end end
if test -z $XDG_CURRENT_DESKTOP
set -Ux XDG_CURRENT_DESKTOP GNOME
end
# Attach the autoscreen screen session if StumpWM is running # Attach the autoscreen screen session if StumpWM is running
# and it's not already in use. # and it's not already in use.
# if test \( -n $DESKTOP_SESSION \) -a \( $DESKTOP_SESSION = "stumpwm" \) # if test \( -n $DESKTOP_SESSION \) -a \( $DESKTOP_SESSION = "stumpwm" \)