blob: cd1b4cfbb1a1e3981269ee9269d6e27c3c240eda (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
set -eu
set -o pipefail
# key bindings
setxkbmap -option ctrl:nocaps
setxkbmap -option compose:caps
xmodmap "$HOME"/.Xmodmap
"$(dirname "$0")"/numkeys on
# trackpad settings
touchpad="$(xinput list --name-only | grep Touchpad)"
xinput set-prop "$touchpad" "libinput Accel Speed" 0.4
xinput set-prop "$touchpad" "libinput Tapping Enabled" 1
# needs to happen after xmodmap stuff
systemctl --user restart xcape
systemctl --user restart xbindkeys
|