Create .xsession

This commit is contained in:
Rawley Fowler 2022-06-25 08:29:07 -06:00 committed by GitHub
parent a64bc99aa8
commit a43fa1f570
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

15
openbsd/home/.xsession Normal file
View file

@ -0,0 +1,15 @@
# enable scrolling with trackpoint and middle button
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" 6 7 4 5
feh --bg-fill ~/Pictures/bg/bg.png &
XRES="$HOME/.Xresources"
if [ -f $XRES ]; then
xrdb -merge XRES &
fi
xrdb -load $XRES &
exec dwm