X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/9280c99a6009727d5ec277cebe7334cd7da47417..fd2e16fc92dd7a33908ceff1e31f03e05a78fda9:/xprofile diff --git a/xprofile b/xprofile index c765ed9..97580b9 100644 --- a/xprofile +++ b/xprofile @@ -1,21 +1,10 @@ -#!/usr/bin/env bash +#!/bin/sh -export URXVT_PERL_LIB="$HOME/src/dotfiles/urxvt/perls:$HOME/src/dotfiles/urxvt/autocomplete-ALL-the-things" -urxvtd -q -o & -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) -xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$(hostname).xkb $DISPLAY -xcape -e "Control_L=Escape;Control_R=Escape" +userprofile_d=$XDG_CONFIG_HOME/xprofile.d -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 neomutt - -qutebrowser & +if [ -d "$userprofile_d" ] ; then + for f in $userprofile_d/?*.sh ; do + [ -f "$f" ] && source "$f" + done + unset f +fi