summaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorMehdi Sadeghi <mehdi@mehdix.org>2023-03-31 19:18:14 +0200
committerMehdi Sadeghi <mehdi@mehdix.org>2023-04-09 15:52:46 +0200
commit45a6e760ebc4438ff05f1a689518e50b4567fe93 (patch)
tree68cbff3009c29265fe10bba6fbf34ef496fde6a0 /.xinitrc
parentd47e3f8702458bb73d1f656333eb49ba317cdf2f (diff)
Export GOPATH and some cleanup
Moreover, make sure KDE is not running in xinitrc before exec
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