3 sysmodmap=/usr/local/etc/X11/xinit/.Xmodmap
4 sysresources=/usr/local/etc/X11/xinit/.Xresources
5 usermodmap="$HOME/.Xmodmap"
6 userresources="$HOME/.Xresources"
8 if [ -f $sysresources ]; then
9 xrdb -merge $sysresources
11 if [ -f $sysmodmap ]; then
14 if [ -f "$userresources" ]; then
15 xrdb -merge "$userresources"
17 if [ -f "$usermodmap" ]; then
21 # root image, redshift
30 #urxvt -name URxvtRoot -override-redirect -geometry x26+0-0 -e glances &
31 #xdotool search --limit 1 --sync --classname URxvtRoot windowsize 100% y
34 #"$HOME/src/phwmon/phwmon.py" --mem --mem_percent --net --io --bg \#0000 &
39 xautolock -time 10 -locker "$HOME/bin/l" &
43 if [ -x /usr/local/bin/urxvtd ]; then
45 # try to start client twice, once before checking for daemon and
46 # another after trying to start it
49 # daemon not started, attempt to start once
54 TERMINAL=/usr/local/bin/urxvtc
62 # try to wait for session to start
63 (sleep 0.1 && tint2) &
64 (sleep 0.1 && [ -x "$HOME/bin/acpi_ac" ] && "$HOME/bin/acpi_ac" "0x0`sysctl -n hw.acpi.acline`") &
65 (sleep 1.5 && [ -x /usr/local/bin/conky ] && conky -c "$HOME/.conkyrc.d/dock") &
67 # load any global scripts
68 if [ -d /usr/local/etc/X11/xinit/xinitrc.d ]; then
69 for f in /usr/local/etc/X11/xinit/xinitrc.d/?*.sh; do
75 if [ ! -n "$1" ]; then