]> git.rmz.io Git - dotfiles.git/blobdiff - xprofile
xprofile: separate xprofile from xinit
[dotfiles.git] / xprofile
diff --git a/xprofile b/xprofile
new file mode 100644 (file)
index 0000000..97580b9
--- /dev/null
+++ b/xprofile
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+userprofile_d=$XDG_CONFIG_HOME/xprofile.d
+
+if [ -d "$userprofile_d" ] ; then
+    for f in $userprofile_d/?*.sh ; do
+        [ -f "$f" ] && source "$f"
+    done
+    unset f
+fi