aboutsummaryrefslogtreecommitdiff
path: root/x/xprofile
diff options
context:
space:
mode:
Diffstat (limited to 'x/xprofile')
-rw-r--r--x/xprofile15
1 files changed, 3 insertions, 12 deletions
diff --git a/x/xprofile b/x/xprofile
index 454700ff..1750c70b 100644
--- a/x/xprofile
+++ b/x/xprofile
@@ -1,12 +1,3 @@
-# Environment variables common to any X session
-
-# Update browser, since .profile set this to a curses browser on login
-# shellcheck disable=SC2034
-BROWSER=x-www-browser
-
-# Load all supplementary scripts in ~/.xprofile.d
-for sh in "$HOME"/.xprofile.d/*.sh ; do
- [ -e "$sh" ] || continue
- . "$sh"
-done
-unset -v sh
+# Read ~/.profile to set up environment when starting X with a display manager
+# like LightDM, since we didn't have a TTY login arrange that already
+. "$HOME"/.profile