summaryrefslogtreecommitdiff
path: root/dot/xsession
blob: 91b0ee04e776066d5204b307efb99f2c79e342bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
xbindkeys

# no gnome:
setxkbmap -option terminate:ctrl_alt_bksp -option caps:super
# gnome:
gsettings set org.gnome.libgnomekbd.keyboard options "['terminate\tterminate:ctrl_alt_bksp', 'caps\tcaps:super']"

# Disable thinkpad middle-click+trackpoint scrolling
xinput set-prop 'TPPS/2 IBM TrackPoint' 'libinput Scroll Method Enabled' 0 0 0

# Enable tap-to-click
xinput --set-prop --type=int --format=8  "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0 0 0 0 1 2 3

if [ "${DISPLAY%.*}" = :0 ]
then
    /usr/lib/notification-daemon/notification-daemon &
    xterm -e tmux attach &
    quassel &
    firestartx &
fi
xmonad &

exec perl -e 'wait while 1'
xterm # if exec fails