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
1 changed files with 4 additions and 0 deletions

View File

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