summaryrefslogtreecommitdiff
path: root/dot/xsession
diff options
context:
space:
mode:
Diffstat (limited to 'dot/xsession')
-rw-r--r--dot/xsession26
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
2xbindkeys
3
4# no gnome:
5setxkbmap -option terminate:ctrl_alt_bksp -option caps:super
6# gnome:
7gsettings set org.gnome.libgnomekbd.keyboard options "['terminate\tterminate:ctrl_alt_bksp', 'caps\tcaps:super']"
8
9# Disable thinkpad middle-click+trackpoint scrolling
10xinput set-prop 'TPPS/2 IBM TrackPoint' 'libinput Scroll Method Enabled' 0 0 0
11
12# Enable tap-to-click
13xinput --set-prop --type=int --format=8 "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0 0 0 0 1 2 3
14
15if [ "${DISPLAY%.*}" = :0 ]
16then
17 /usr/lib/notification-daemon/notification-daemon &
18 xterm -e tmux attach &
19 quassel &
20 firestartx &
21fi
22xmonad &
23
24exec perl -e 'wait while 1'
25xterm # if exec fails
26