#!/bin/sh

#xkbset accessx sticky -twokey latchlock
#jackd --realtime -d alsa &
#sleep 2
#pulseaudio &

# Needed for icons in KDE applications
export QT_QPA_PLATFORMTHEME="kde"

kdeinit5 --kded
kdeinit4

. /home/stuartl/.profile

xsetwacom --set "Wacom Intuos4 6x9 pad" Button 1 'key lshift'
xsetwacom --set "Wacom Intuos4 6x9 pad" Button 2 'button 14'
xsetwacom --set "Wacom Intuos4 6x9 pad" Button 3 'button 15'
xsetwacom --set "Wacom Intuos4 6x9 pad" Button 13 'button 13'
xsetwacom --set "Wacom Intuos4 6x9 pad" Button 12 'button 12'
xsetwacom --set "Wacom Intuos4 6x9 pad" Button 11 'button 11'
xsetwacom --set "Wacom Intuos4 6x9 pad" Button 10 'button 10'
xsetwacom --set "Wacom Intuos4 6x9 pad" Button 9 'button 9'
xsetwacom --set "Wacom Intuos4 6x9 pad" Button 8 'button 8'

exec /usr/bin/fvwm
