aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-07-27 13:36:34 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-07-27 13:36:34 +1200
commitae271c83490435fe9b7ead4e0a2e67a78278b52f (patch)
treea6f0bb150fd403abac3cb67ad28e844a68701033
parentMerge branch 'release/v12.10.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-ae271c83490435fe9b7ead4e0a2e67a78278b52f.tar.gz
dotfiles-ae271c83490435fe9b7ead4e0a2e67a78278b52f.zip
Merge branch 'release/v12.11.0'v12.11.0
* release/v12.11.0: Include .xprofile source-parts dir Correct path to ~/.xprofile
-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