diff options
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | x/xprofile | 7 | ||||
-rw-r--r-- | x/xsession.sh | 2 |
3 files changed, 10 insertions, 3 deletions
@@ -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 @@ -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 |