diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2011-08-12 10:04:43 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2011-08-12 10:04:43 +0000 |
commit | 7e2ea4df32a50f04b166c84b358c6a4833ff5464 (patch) | |
tree | d6bc5bd9468eb622062293bd5511d55358d630d4 /modules/services/x11/display-managers/default.nix | |
parent | 38cab9070f0118c4390398ee36a589976a31c198 (diff) | |
download | nixpkgs-7e2ea4df32a50f04b166c84b358c6a4833ff5464.tar nixpkgs-7e2ea4df32a50f04b166c84b358c6a4833ff5464.tar.gz nixpkgs-7e2ea4df32a50f04b166c84b358c6a4833ff5464.tar.bz2 nixpkgs-7e2ea4df32a50f04b166c84b358c6a4833ff5464.tar.lz nixpkgs-7e2ea4df32a50f04b166c84b358c6a4833ff5464.tar.xz nixpkgs-7e2ea4df32a50f04b166c84b358c6a4833ff5464.tar.zst nixpkgs-7e2ea4df32a50f04b166c84b358c6a4833ff5464.zip |
* Xsession script: set the current directory to $HOME.
svn path=/nixos/trunk/; revision=28511
Diffstat (limited to 'modules/services/x11/display-managers/default.nix')
-rw-r--r-- | modules/services/x11/display-managers/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/services/x11/display-managers/default.nix b/modules/services/x11/display-managers/default.nix index 47743d436a5..6308ff0f5bb 100644 --- a/modules/services/x11/display-managers/default.nix +++ b/modules/services/x11/display-managers/default.nix @@ -21,6 +21,8 @@ let '' #! /bin/sh + cd "$HOME" + # The first argument of this script is the session type. sessionType="$1" if [ "$sessionType" = default ]; then sessionType=""; fi |