diff options
| author | Mehdi Sadeghi <mehdi@mehdix.org> | 2023-03-31 19:18:14 +0200 |
|---|---|---|
| committer | Mehdi Sadeghi <mehdi@mehdix.org> | 2023-04-09 15:52:46 +0200 |
| commit | 45a6e760ebc4438ff05f1a689518e50b4567fe93 (patch) | |
| tree | 68cbff3009c29265fe10bba6fbf34ef496fde6a0 /.xinitrc | |
| parent | d47e3f8702458bb73d1f656333eb49ba317cdf2f (diff) | |
Export GOPATH and some cleanup
Moreover, make sure KDE is not running in xinitrc before exec
Diffstat (limited to '.xinitrc')
| -rwxr-xr-x | .xinitrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
