~andrewzah/dotfiles

ref: f5d3edfb0b719f4a11f12a89d87d233c1b6749d9 dotfiles/.xinitrc -rwxr-xr-x 466 bytes
f5d3edfb — Andrew Zah begin to update for openbsd 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export LANG=en_US.UTF-8

export apmd_flags="-A -Z 8"

xrdb -merge $HOME/.resources

xidle -timeout 300 &

while true; do
    batt="$(sysctl -n hw.sensors.acpibat0.watthour3 | cut -f1,2 -d" ")"
    xsetroot -name "$batt"
    sleep 60
done &

xset b off

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

exec i3