summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2022-10-23 22:24:14 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2022-10-23 23:19:50 +0100
commit375acd043f59791db6f79a4d4a72239a35d1d28e (patch)
tree62039be822853c3f8c210d8bc6d31e3e60100f66 /config
parent734c9e75c8f4c2de6ae3441ee0691118e925ab3e (diff)
downloaddraklive-config-375acd043f59791db6f79a4d4a72239a35d1d28e.tar
draklive-config-375acd043f59791db6f79a4d4a72239a35d1d28e.tar.gz
draklive-config-375acd043f59791db6f79a4d4a72239a35d1d28e.tar.bz2
draklive-config-375acd043f59791db6f79a4d4a72239a35d1d28e.tar.xz
draklive-config-375acd043f59791db6f79a4d4a72239a35d1d28e.zip
Use new default session name for Plasma.
Diffstat (limited to 'config')
-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);