xsessionrc @ 4b486c5a8a54

Linux
author Steve Losh <steve@stevelosh.com>
date Mon, 09 Jul 2018 11:14:40 -0400
parents a1d399ef7d54
children c55730194b70
#!/bin/sh

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
      [ -x "$f" ] && . "$f"
  done
  unset f
fi


TRACKPAD=`xinput list | grep 'Elantech Touchpad' | cut -d= -f2 | cut -f1`
SCROLL=`xinput list-props $TRACKPAD | grep 'Natural Scrolling Enabled (' | cut -d\( -f2 | cut -d\) -f1`
# CLICK=`xinput list-props $TRACKPAD | grep 'Click Method Enabled (' | cut -d\( -f2 | cut -d\) -f1`

xinput set-prop $TRACKPAD $SCROLL 1
# xinput set-prop $TRACKPAD $CLICK 0, 1

/home/sjl/lib/dotfiles/bin/keysettings
xcape -t 200 -e 'Control_L=Escape'
xautolock -time 15 -locker /usr/bin/slock &

/usr/bin/dunst -config $HOME/.dunstrc &

exec /usr/local/bin/stumpwm