More
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 07 Sep 2023 14:33:50 -0400 |
parents |
09d4b82224fc |
children |
(none) |
#!/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/src/dotfiles/bin/keysettings
# /home/sjl/src/dotfiles/bin/k-dammit &
xcape -t 200 -e 'Control_L=Escape;Shift_L=Shift_L|9;Shift_R=Shift_R|0'
xautolock -time 30 -locker /home/sjl/src/dotfiles/bin/lock-screen &
# turn off heart-attack-inducing pc speaker beep
xset -b
/usr/bin/dunst -config $HOME/.dunstrc &
# Fix the fucking GTK scrolling bullshit
# God bless you https://mmk2410.org/2018/02/15/scrolling-doesnt-work-in-gtk-3-apps-in-stumpwm/
export GDK_CORE_DEVICE_EVENTS=1
# exec gpg-agent --daemon --enable-ssh-support /usr/local/bin/stumpwm
exec /usr/local/bin/stumpwm > .stump-xsession-log.out 2> .stump-xsession-log.err