#!/usr/bin/env zsh xset -b xset r rate 200 60 xset m 2 0 {{- if eq .chezmoi.os "openbsd" }} # xset -dpms # xset s off xset +fp "/usr/local/share/fonts/Hack" xset +fp "/usr/local/share/fonts/terminus" xset +fp "/usr/local/share/fonts/brutalist" setxkbmap us dev-de # "natural" scroll for trackpad xinput set-button-map /dev/wsmouse0 1 2 3 5 4 7 6 # keep regular scroll and slowdown mouse, trackpoint, and trackball xinput set-button-map /dev/wsmouse 1 2 3 4 5 6 7 # emulate the middle button and the scroll wheel xinput set-prop /dev/wsmouse 'Device Accel Constant Deceleration' 2 xinput set-prop /dev/wsmouse 'WS Pointer Middle Button 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 Inertia' 3 xinput set-prop /dev/wsmouse 'WS Pointer Wheel Emulation Timeout' 500 {{- end }} export LC_CTYPE="en_US.UTF-8" export HOME=/home/jan export PATH=$HOME/local/bin:$HOME/.fzf/bin:$HOME/go/bin:$PATH {{- if eq .chezmoi.os "openbsd" }} # dock.sh syncthing -no-browser -home="/home/jan/.config/syncthing" & parcellite -d -n & unclutter -root -idle 2 -noevents & xidle -timeout 300 -program "/usr/local/bin/slock" & {{- end }} xrdb -merge $HOME/.Xresources xsetroot -solid "#282828" urxvtd -q -f -o tint2& exec openbox