lightdm: obbey services.xserver.{window/desktop}Manager.default

This commit is contained in:
obadz 2016-09-16 14:14:44 +01:00
parent a20c2ce4b8
commit 29caa185a7

View File

@ -46,13 +46,15 @@ let
[Seat:*] [Seat:*]
xserver-command = ${xserverWrapper} xserver-command = ${xserverWrapper}
session-wrapper = ${dmcfg.session.script} session-wrapper = ${dmcfg.session.script}
${optionalString (elem defaultSessionName dmcfg.session.names) ''
user-session = ${defaultSessionName}
''}
${optionalString cfg.greeter.enable '' ${optionalString cfg.greeter.enable ''
greeter-session = ${cfg.greeter.name} greeter-session = ${cfg.greeter.name}
''} ''}
${optionalString cfg.autoLogin.enable '' ${optionalString cfg.autoLogin.enable ''
autologin-user = ${cfg.autoLogin.user} autologin-user = ${cfg.autoLogin.user}
autologin-user-timeout = ${toString cfg.autoLogin.timeout} autologin-user-timeout = ${toString cfg.autoLogin.timeout}
autologin-session = ${defaultSessionName}
''} ''}
${cfg.extraSeatDefaults} ${cfg.extraSeatDefaults}
''; '';