diff options
Diffstat (limited to 'dot/xsession')
-rw-r--r-- | dot/xsession | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dot/xsession b/dot/xsession new file mode 100644 index 0000000..91b0ee0 --- /dev/null +++ b/dot/xsession | |||
@@ -0,0 +1,26 @@ | |||
1 | #!/bin/bash | ||
2 | xbindkeys | ||
3 | |||
4 | # no gnome: | ||
5 | setxkbmap -option terminate:ctrl_alt_bksp -option caps:super | ||
6 | # gnome: | ||
7 | gsettings set org.gnome.libgnomekbd.keyboard options "['terminate\tterminate:ctrl_alt_bksp', 'caps\tcaps:super']" | ||
8 | |||
9 | # Disable thinkpad middle-click+trackpoint scrolling | ||
10 | xinput set-prop 'TPPS/2 IBM TrackPoint' 'libinput Scroll Method Enabled' 0 0 0 | ||
11 | |||
12 | # Enable tap-to-click | ||
13 | xinput --set-prop --type=int --format=8 "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0 0 0 0 1 2 3 | ||
14 | |||
15 | if [ "${DISPLAY%.*}" = :0 ] | ||
16 | then | ||
17 | /usr/lib/notification-daemon/notification-daemon & | ||
18 | xterm -e tmux attach & | ||
19 | quassel & | ||
20 | firestartx & | ||
21 | fi | ||
22 | xmonad & | ||
23 | |||
24 | exec perl -e 'wait while 1' | ||
25 | xterm # if exec fails | ||
26 | |||