3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
Michael Weiss 1273f414a7 display-managers: Fix the xsession parameters
The xsession script was called with inconsistent (depending on the
display managers) and wrong parameters. The main reason for this where
the spaces the parameter syntax. In order to fix this the old syntax:
$1 = '<desktop-manager> + <window-manager>'
Will be replaced with a new syntax:
$1 = "<desktop-manager>+<window-manager>"

This assumes that neither "<desktop-manager>" nor "<window-manager>"
contain the "+" character but this shouldn't be a problem.

This patch also fixes the quoting by using double quotes (") instead of
single quotes (') [0].

Last but not least this'll add some comments for the better
understanding of the script.

[0]: https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html
2017-04-28 22:00:14 +02:00
..
config treewide: use boolToString function 2017-04-11 18:18:53 +02:00
hardware rtl8192su-firmware: init at unstable-2016-10-05 2017-03-31 10:49:38 +02:00
i18n/input-method Remove top-level kde5 attribute 2017-02-27 11:49:10 -06:00
installer nix: 1.11.8 -> 1.11.9 2017-04-25 17:19:10 +02:00
misc Merge branch 'master' into aria2.service 2017-04-27 17:50:13 +03:00
profiles nixos: add a "hardened" profile 2017-04-23 11:00:52 +02:00
programs programs.zsh.syntax-highlighting: refactor highlighters option for proper validation 2017-04-25 16:00:26 +02:00
security grsecurity: discontinue support 2017-04-28 12:35:15 +02:00
services display-managers: Fix the xsession parameters 2017-04-28 22:00:14 +02:00
system nixos/grub: Add another example for extraEntries 2017-04-25 08:50:43 +02:00
tasks Add Elantech ETPS/2 Trackpoint (ThinkPad Yoga 260) 2017-04-22 13:42:57 +02:00
testing kdm: drop service 2017-02-11 13:55:09 -05:00
virtualisation Merge pull request #25245 from bachp/docker-proxy 2017-04-27 11:03:46 +02:00
module-list.nix zsh-syntax-highlighting: Add more configuration options and move to module (#25153) 2017-04-23 21:17:31 +02:00
rename.nix zsh-syntax-highlighting: Add more configuration options and move to module (#25153) 2017-04-23 21:17:31 +02:00