* Support the custom session type (i.e. ~/.xsession) in SLiM.

svn path=/nixos/trunk/; revision=17088
This commit is contained in:
Eelco Dolstra 2009-09-13 13:40:06 +00:00
parent 6596a3ec55
commit 0806a8e203

View file

@ -12,7 +12,7 @@ let
xauth_path ${dmcfg.xauthBin}
default_xserver ${dmcfg.xserverBin}
xserver_arguments ${dmcfg.xserverArgs}
sessions ${pkgs.lib.concatStringsSep "," dmcfg.session.names}
sessions ${pkgs.lib.concatStringsSep "," (dmcfg.session.names ++ ["custom"])}
login_cmd exec ${pkgs.stdenv.bash}/bin/sh ${dmcfg.session.script} "%session"
halt_cmd ${pkgs.upstart}/sbin/shutdown -h now
reboot_cmd ${pkgs.upstart}/sbin/shutdown -r now