-#!/usr/bin/env bash
+#!/bin/sh
-start-pulseaudio-x11
-compton --config ~/.config/compton.conf &
-xautolock -detectsleep \
- -notify 600 -notifier "xset dpms force off" \
- -time 20 -locker "i3lock -nc 000000" \
- -killtime 70 -killer "systemctl suspend" &
-unclutter --timeout 1 &
-[[ -f "$XDG_CONFIG_HOME/xbindkeys/$(hostname)" ]] && xbindkeys --file $XDG_CONFIG_HOME/xbindkeys/$(hostname)
-xcape -e "Control_L=Escape;Control_R=Escape"
-xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$(hostname).xkb $DISPLAY
+userprofile_d=$XDG_CONFIG_HOME/xprofile.d
-urxvtd -q -f -o
-hash mopidy && urxvtc -name mopidy -icon ~/src/dotfiles/icons/bmp.png -e ncmpcpp -p 6601
-hash ncmpcpp && urxvtc -name ncmpcpp -icon ~/src/dotfiles/icons/bmp.png -e ncmpcpp
-hash weechat && urxvtc -name weechat -icon ~/src/dotfiles/icons/im-irc.png -e weechat
-hash mutt && urxvtc -name mutt -icon ~/src/dotfiles/icons/internet-mail.png -e mutt
-
-qutebrowser &
+if [ -d "$userprofile_d" ] ; then
+ for f in $userprofile_d/?*.sh ; do
+ [ -f "$f" ] && source "$f"
+ done
+ unset f
+fi