19 lines
627 B
Text
19 lines
627 B
Text
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
|