X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/49c8090f0b244005da7e9a05549b555f7c8f19d2:/xprofile..31503eb98057db5ac2de69334641020fe6d1afab:/xinit/xprofile diff --git a/xprofile b/xinit/xprofile similarity index 67% rename from xprofile rename to xinit/xprofile index 976785e..e67b840 100644 --- a/xprofile +++ b/xinit/xprofile @@ -7,15 +7,10 @@ URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/perls/deprecated export URXVT_PERL_LIB 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 @@ -23,3 +18,12 @@ hash weechat && urxvtc -name weechat -icon ~/src/dotfiles/icons/im-irc.png hash neomutt && urxvtc -name mutt -icon ~/src/dotfiles/icons/internet-mail.png -e neomutt qutebrowser & + +rc_dir="$XDG_CONFIG_HOME/xinit/xprofile.d" +if [[ -d "$rc_dir" ]] ; then + for f in "$rc_dir"/?*.sh ; do + [ -x "$f" ] && source "$f" + done + unset f +fi +unset rc_dir