X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/ec577daf43301e3ba1ddb55d6946fd5b8ada1ea5..HEAD:/xprofile diff --git a/xprofile b/xprofile index 590f7e2..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 mutt - -qutebrowser & +if [ -d "$userprofile_d" ] ; then + for f in $userprofile_d/?*.sh ; do + [ -f "$f" ] && source "$f" + done + unset f +fi