summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <benjaminfranzke@gmail.com>2010-02-25 20:34:46 +0100
committerben <benjaminfranzke@gmail.com>2010-02-25 20:34:46 +0100
commitd1021bc463bd19c1e0bd87c8652781b0b29f48cd (patch)
treef3815651c9c4b82c7a9c6e20e3a6e9cf916f1f7f
parentcb33da3194ef8a09085854406c92dbb6e4fd8c95 (diff)
downloaddotfiles-d1021bc463bd19c1e0bd87c8652781b0b29f48cd.tar.gz
dotfiles-d1021bc463bd19c1e0bd87c8652781b0b29f48cd.tar.bz2
dotfiles-d1021bc463bd19c1e0bd87c8652781b0b29f48cd.zip
xinitrc: change parameter $1 to $2
this is due to changes in the xinit script thats passes xterm as first argument and the $1 of startx as $2
-rw-r--r--.xinitrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.xinitrc b/.xinitrc
index bcf96a9..70bbb01 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,4 +1,5 @@
#chooser="/etc/X11/chooser.sh"
#session=$(XSESSION="${1}" ${chooser})
#exec ${session:-$(${chooser})}
-exec $(XSESSION="${1:-${XSESSION}}" /etc/X11/chooser.sh)
+
+exec $(XSESSION="${2:-${XSESSION}}" /etc/X11/chooser.sh)