#!/usr/bin/env bash
 
+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
+
+urxvtd -q -o &
 start-pulseaudio-x11
 compton --config ~/.config/compton.conf &
 xautolock -detectsleep \
           -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
+xcape -e "Control_L=Escape;Control_R=Escape"
 
-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
+hash neomutt && urxvtc -name mutt    -icon ~/src/dotfiles/icons/internet-mail.png -e neomutt
 
 qutebrowser &