X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/15d0ce891e4615f956e5a26da0cef938a5525e4e..c1ad91c394da11dffa6fdb75f350b33a13d60f16:/xprofile?ds=sidebyside diff --git a/xprofile b/xprofile index 7189229..97580b9 100644 --- a/xprofile +++ b/xprofile @@ -1,24 +1,10 @@ -#!/usr/bin/env bash +#!/bin/sh -URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/perls -URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/autocomplete-ALL-the-things -URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/font-size -export URXVT_PERL_LIB +userprofile_d=$XDG_CONFIG_HOME/xprofile.d -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" - -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 neomutt && 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