configs  xinitrc at [af18365ba3]

File xinitrc artifact 3b1f045783 part of check-in af18365ba3


if [ "$(uname)" = "NetBSD" ]; then
	echo "EXECUTING" >/tmp/foo
	xset fp+ /usr/pkg/share/fonts/X11/misc
elif [ "$(uname)" = "OpenBSD" ]; then
	xset fp+ /usr/local/share/fonts/terminus
	xset fp+ /usr/local/share/fonts/mscorefont
	xset fp+ /usr/local/share/fonts/noto

	xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1
	xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2
	xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 7 6 5 4
fi

xmodmap "$HOME/.Xmodmap"
if type -q xidle && type -q xlock; then
	xidle -program "$(which xlock) -usefirst" -timeout 300 &
fi

exec ssh-agent ctwm -W