summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2022-11-29 22:07:10 -0500
committerAndrew Cady <d@cryptonomic.net>2022-11-29 22:07:10 -0500
commit48fb88314fc8dcbf9483d212b2c32ff9d021a744 (patch)
tree43f962e8605a1721d45b37a5003e6fe5e5eacc24
parent3029c4c73ca18fe8bfaf6b2b4b47d893f336bfb7 (diff)
add .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