aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION4
-rw-r--r--x/xprofile7
-rw-r--r--x/xsession.sh2
3 files changed, 10 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index 739c46e8..c4e7f0a0 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v12.10.0
-Wed, 27 Jul 2022 01:28:09 +0000
+tejr dotfiles v12.11.0
+Wed, 27 Jul 2022 01:36:28 +0000
diff --git a/x/xprofile b/x/xprofile
index 354df44b..454700ff 100644
--- a/x/xprofile
+++ b/x/xprofile
@@ -3,3 +3,10 @@
# 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
diff --git a/x/xsession.sh b/x/xsession.sh
index 0219c87d..8f8ca25f 100644
--- a/x/xsession.sh
+++ b/x/xsession.sh
@@ -2,7 +2,7 @@
# Load common environment variables
# shellcheck disable=SC1091
-. "$HOME"/.profile
+. "$HOME"/.xprofile
# Monitor and wallpaper setup is very machine-specific, and isn't versioned in
# here. Neither xrandr(1) nor xwallpaper(1) have config files, so we fake it