blob: 4afd5a7a29aeef46f2f9c23815bd24fe51402b4f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
# key bindings
setxkbmap -option ctrl:nocaps
setxkbmap -option compose:caps
xmodmap $HOME/.Xmodmap
$HOME/.bin/numkeys on
# trackpad settings
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Accel Speed" 0.4
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1
# restart services that depend on keyboard reconfigurations
if pgrep readproctitle > /dev/null; then
svre xcape
svre kuake
svre xbindkeys
fi
|