]> git.rmz.io Git - dotfiles.git/blobdiff - xprofile
lazyvim: absorb formatting plugins
[dotfiles.git] / xprofile
index 0f7c9a30d595e35b6fa1be0748daf3c78796c48e..97580b90db6132cd96fa1f8dccb734d56caf3ece 100644 (file)
--- a/xprofile
+++ b/xprofile
@@ -1,10 +1,10 @@
-start-pulseaudio-x11
-compton -b --config ~/.config/compton.conf
-xautolock -detectsleep \
-          -notify  300 -notifier "xset dpms force off" \
-          -time     10 -locker   "i3lock -nc 000000" \
-          -killtime 90 -killer   "systemctl suspend" &
-xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$HOST.xkb $DISPLAY
-xbindkeys
-xcape -e "Control_L=Escape;Control_R=Escape"
-urxvtd -q -f -o
+#!/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