summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/build.cfg9
1 files changed, 8 insertions, 1 deletions
diff --git a/config/build.cfg b/config/build.cfg
index 59fc71f..f034f9e 100644
--- a/config/build.cfg
+++ b/config/build.cfg
@@ -10,7 +10,14 @@ my $has_lxde = member('LXDE', @desktops);
my $has_plasma = member('Plasma', @desktops);
my $has_xfce = member('Xfce', @desktops);
-$build->{settings}{default_session} = $desktops[0] eq 'Xfce' ? 'XfceSession' : $desktops[0];
+my %default_sessions = (
+ 'GNOME' => 'GNOME',
+ 'LXDE' => 'LXDE',
+ 'Plasma' => 'Plasma(X11)',
+ 'Xfce' => 'XfceSession',
+);
+
+$build->{settings}{default_session} = $default_sessions{$desktops[0]};
my @user_config_dirs = ('/etc/skel', '/home/' . $default_user);