configs  Artifact [3b1f045783]

Artifact 3b1f04578370e91f1fea77e352b5637d2387a213ee4e13a06910611d839eaef2:

  • File xinitrc — part of check-in [af18365ba3] at 2020-12-31 00:54:56 on branch trunk — xinitrc: Add NetBSD-specific part, switch to tcwm (user: js size: 627)

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