[xmonad] xmonad as a stand-alone?

Philipp Haselwarter philipp.haselwarter at gmx.de
Mon Sep 26 20:48:18 CEST 2011

On 2011-09-20 16:01 UT, Džen  <yvldwt at gmail.com> wrote:

D> I have the following lines in my .profile, works perfectly:

D> if [ "`tty`" = /dev/tty1 ] && [ -z "$DISPLAY" ]; then startx logout
D> fi

D> A bit better than running startx off the shell IMO :)

You could add a check for the current runlevel to this, eg
[ "$(runlevel | cut -d' ' -f2)" = 5 ]
just a thought…

Philipp Haselwarter

More information about the xmonad mailing list