Set XDG_CURRENT_DESKTOP on startup.

This commit is contained in:
Sanel Zukan 2013-02-18 23:38:52 +00:00
parent c8323b386d
commit a8b01d75c1

View File

@ -3,7 +3,7 @@
# $Id$ # $Id$
# #
# Part of Equinox Desktop Environment (EDE). # Part of Equinox Desktop Environment (EDE).
# Copyright (c) 2007-2012 EDE Authors. # Copyright (c) 2007-2013 EDE Authors.
# #
# This program is licensed under terms of the # This program is licensed under terms of the
# GNU General Public License version 2 or newer. # GNU General Public License version 2 or newer.
@ -41,6 +41,8 @@ if [ "x$XDG_MENU_PREFIX" = "x" ]; then
XDG_MENU_PREFIX="ede-" XDG_MENU_PREFIX="ede-"
fi fi
XDG_CURRENT_DESKTOP="EDE"
[ -d $XDG_DATA_HOME ] || mkdir -p $XDG_DATA_HOME [ -d $XDG_DATA_HOME ] || mkdir -p $XDG_DATA_HOME
[ -d $XDG_CONFIG_HOME ] || mkdir -p $XDG_CONFIG_HOME [ -d $XDG_CONFIG_HOME ] || mkdir -p $XDG_CONFIG_HOME
[ -d $XDG_CACHE_HOME ] || mkdir -p $XDG_CACHE_HOME [ -d $XDG_CACHE_HOME ] || mkdir -p $XDG_CACHE_HOME
@ -51,6 +53,7 @@ export XDG_CACHE_HOME
export XDG_DATA_DIRS export XDG_DATA_DIRS
export XDG_CONFIG_DIRS export XDG_CONFIG_DIRS
export XDG_MENU_PREFIX export XDG_MENU_PREFIX
export XDG_CURRENT_DESKTOP
PATH=$PATH:$PREFIX:$PREFIX/bin PATH=$PATH:$PREFIX:$PREFIX/bin
export PATH export PATH