Last active
October 15, 2021 11:44
-
-
Save theodric/c156ae749e1b622bbc6b3be80cce5f48 to your computer and use it in GitHub Desktop.
OpenBSD based install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://xmonad.org/ | |
# https://github.com/jcs/sdorfehs | |
#apt-cache search ~= pkg_info -Q | |
pkg_add nano tmux htop git neofetch gdk-pixbuf pkg_mgr wget vim-8.2.3456-no_x11-perl-python3-ruby colorls md5sum vmwh firefox gdk-pixbuf-xlib | |
##current is broken, use 1.0 release! **cd /usr/src && git clone https://github.com/jcs/progman.git | |
cd /usr/src && wget https://github.com/jcs/progman/archive/refs/tags/v1.0.tar.gz | |
#edit Makefile, change CFLAGS+= -O2...... to CFLAGS= -pipe -Ofast......, CFLAGS+= -DHIDPI=1 to =0 for non-HiDPI screens | |
echo alias ls=\'colorls -G\' >> $HOME/.profile | |
echo progman >> $HOME/.xsession | |
#middle-button scrolling for thinkpad, add to .xsession: | |
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1 | |
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2 | |
#trackpoint natural scrolling in both directions | |
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 7 6 5 4 | |
# disable trackpad | |
wsconsctl mouse.tp.disable=1 | |
# map caps lock to control | |
setxkbmap -option ctrl:nocaps | |
xsetroot -solid grey |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment