diff options
Diffstat (limited to '.xinitrc')
| -rw-r--r-- | .xinitrc | 16 |
1 files changed, 5 insertions, 11 deletions
@@ -1,16 +1,10 @@ #!/bin/sh -if [ "$DISPLAY_SESSION" = "dwm" ]; then - session_line=dwm -elif [ "$DISPLAY_SESSION" = "openbox" ]; then - session_line=openbox-session -elif [ "$DISPLAY_SESSION" = "xmonad" ]; then - session_line=xmonad -else - session_line="$DISPLAY_SESSION" - # echo "DISPLAY_SESSION not specified. Exiting..." - # exit 1 -fi +# This file is sourced only when starting X11 session with startx. +# Otherwise, display manager should set up this variable and +# source the xprofile. + +export DESKTOP_SESSION="xmonad" [ -f /etc/xprofile ] && . /etc/xprofile [ -f ~/.xprofile ] && . ~/.xprofile |