aboutsummaryrefslogtreecommitdiffstats
path: root/menu/menustyle.csh
blob: 6c43314eb920aa64e5b87044b990c2eb8c41c9f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set MDV_MENU_STYLE=mandriva

foreach file (/etc/sysconfig/menustyle $HOME/.menustyle)
 if ( -f $file ) then
   eval `sed 's|^#.*||' $file | sed 's|\([^=]*\)=\([^=]*\)|set \1=\2|g' | sed 's|$|;|' `
 endif
end

if ($MDV_MENU_STYLE  == discovery && ! ${?XDG_CONFIG_DIRS}) then
	set MDV_MENU_STYLE=mandriva
endif

setenv MDV_MENU_STYLE $MDV_MENU_STYLE