summaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.xinitrc')
-rwxr-xr-x.xinitrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.xinitrc b/.xinitrc
index 5f8cce7..9bb728e 100755
--- a/.xinitrc
+++ b/.xinitrc
@@ -3,6 +3,6 @@ case $(tty | cut -b9-) in
(2) exec xfce4-session;;
(4) exec i3;;
(5) exec openbox-session;;
- (6) export DESKTOP_SESSION=plasma; exec startplasma-x11;;
+ (6) [ "$DESKTOP_SESSION" = plasma ] && (export DESKTOP_SESSION=plasma; exec startplasma-x11);;
(7) exec openbox-session;;
esac