aboutsummaryrefslogtreecommitdiffstats
path: root/menu/menustyle.sh
blob: e1b505134508a615ff83c499d0c227e471d1aebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if [ "$META_CLASS" = "desktop" ]; then 
	MDV_MENU_STYLE=discovery 
else
	MDV_MENU_STYLE=mandriva
fi

[ -r /etc/sysconfig/menustyle ] && source /etc/sysconfig/menustyle
[ -r $HOME/.menustyle ] && source $HOME/.menustyle

if [ "$MDV_MENU_STYLE" = "discovery" -a "x$XDG_CONFIG_DIRS" = "x" ]; then
	XDG_CONFIG_DIRS=/etc/xdg/discovery:/etc/xdg
	export XDG_CONFIG_DIRS
fi

export MDV_MENU_STYLE