xinitrc: Add NetBSD-specific part, switch to tcwm
This commit is contained in:
parent
fbf3a0a6d0
commit
0f7dc40eff
1 changed files with 18 additions and 9 deletions
17
xinitrc
17
xinitrc
|
@ -1,10 +1,19 @@
|
||||||
|
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/terminus
|
||||||
xset fp+ /usr/local/share/fonts/mscorefont
|
xset fp+ /usr/local/share/fonts/mscorefont
|
||||||
xset fp+ /usr/local/share/fonts/noto
|
xset fp+ /usr/local/share/fonts/noto
|
||||||
xmodmap "$HOME/.Xmodmap"
|
|
||||||
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1
|
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 Button" 2
|
||||||
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 7 6 5 4
|
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 7 6 5 4
|
||||||
export GNUSTEP_USER_ROOT="$HOME/.gnustep"
|
fi
|
||||||
xidle -program "/usr/X11R6/bin/xlock -usefirst" -timeout 300 &
|
|
||||||
exec dbus-launch ssh-agent wmaker
|
xmodmap "$HOME/.Xmodmap"
|
||||||
|
if type -q xidle && type -q xlock; then
|
||||||
|
xidle -program "$(which xlock) -usefirst" -timeout 300 &
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec ssh-agent ctwm -W
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue