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 # redshift, root image
32 urxvt -name URxvtBG -override-redirect -geometry x5+0-0 \
33 -e tail -F /var/log/messages &
34 xdotool search --limit 1 --sync --classname URxvtBG windowsize -usehints 100% 6
37 #"$HOME/src/phwmon/phwmon.py" --mem --mem_percent --net --io --bg \#0000 &
42 xautolock -time 10 -locker "$HOME/bin/l" &
46 if [ -x /usr/local/bin/urxvtd ]; then
48 # try to start client twice, once before checking for daemon
49 # and another after trying to start it
52 # daemon not started, attempt to start once
57 TERMINAL=/usr/local/bin/urxvtc
65 # try to wait for session to start
66 (sleep 0.1 && tint2) &
68 (sleep 0.1 && [ -x "$HOME/bin/acpi_ac" ] && \
69 "$HOME/bin/acpi_ac" "0x0`sysctl -n hw.acpi.acline`") &
70 (sleep 1.5 && [ -x /usr/local/bin/conky ] && conky -c "$HOME/.conkyrc.d/dock") &
72 # load any global scripts
73 if [ -d /usr/local/etc/X11/xinit/xinitrc.d ]; then
74 for f in /usr/local/etc/X11/xinit/xinitrc.d/?*.sh; do
81 if [ ! -n "$1" ]; then