#!/bin/sh set -eu printf '%s\n' "${DISPLAY}" >~/.xdisplay PATH='/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games' PATH="${HOME}/bin:${PATH}" . ~/.exports xmodmap "${HOME}/.Xmodmap" export GTK_IM_MODULE='xim' export QT_IM_MODULE='xim' export QT_QPA_PLATFORMTHEME='gtk2' xinput set-prop 'TPPS/2 IBM TrackPoint' 'Evdev Wheel Emulation' 1 xinput set-prop 'TPPS/2 IBM TrackPoint' 'Evdev Wheel Emulation Button' 2 xinput set-prop 'TPPS/2 IBM TrackPoint' 'Evdev Wheel Emulation Timeout' 200 xinput set-prop 'TPPS/2 IBM TrackPoint' 'Evdev Wheel Emulation Axes' 6 7 4 5 for f in $(run-parts --list ~/.xinitrc.d); do . "${f}" done startfluxbox rm -f ~/.xsessionmanage mkfifo -m 0600 ~/.xsessionmanage while read action; do case "${action}" in 'quit') break ;; esac done <~/.xsessionmanage rm -f ~/.xsessionmanage