From 45a6e760ebc4438ff05f1a689518e50b4567fe93 Mon Sep 17 00:00:00 2001 From: Mehdi Sadeghi Date: Fri, 31 Mar 2023 19:18:14 +0200 Subject: Export GOPATH and some cleanup Moreover, make sure KDE is not running in xinitrc before exec --- .xinitrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.xinitrc') 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 -- cgit v1.2.3