# redshift, root image
redon &
-"$HOME/.fehbg"
+wall &
# Xorg settings
xset r rate 290 26 &
xset s off
xset dpms 0 0 600
-find -L "${XDG_DATA_HOME:-~/share}/fonts" -type d -mindepth 1 -maxdepth 1 | while read -r x; do
- xset +fp $x/
+find -L "${XDG_DATA_HOME:-~/share}/fonts" -type d -mindepth 1 -maxdepth 2 | while read -r x; do
+ [ -f "$x/fonts.dir" ] && xset +fp $x
done
xset fp rehash
xbanish &
eval `ssh-agent`
-if [ -z "$TERMINAL" -a \( -x /usr/bin/urxvtd -o -x /usr/local/bin/urxvtd \) ]; then
+if [ -z "$TERMINAL" -a \( -x $(which -a urxvtd | head -1) \) ]; then
for i in 1 2; do
# try to start client twice, once before checking for daemon
# and another after trying to start it