aboutsummaryrefslogtreecommitdiffstats
path: root/.xinitrc
blob: 4eabc1eecee98c7482c7704648e0a4ad2e5180c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

# Disable touchpad while typing using syndaemon
if [[ -f /usr/bin/syndaemon ]]; then
  syndaemon -t -k -i 2 &
fi

#X11 keyboard maps
setxkbmap -layout de

#setxkbmap -option 'caps:escape'
#setxkbmap -option 'ctrl:swapcaps'
#setxkbmap -option 'ctrl:nocaps'

# turn bell off
xset b off

# use .Xmodmap
if [[ -f ~/.Xmodmap ]]; then
    /usr/bin/xmodmap ~/.Xmodmap
fi

# use .Xresources
if [[ -f ~/.Xresources ]];then
  /usr/bin/xrdb ~/.Xresources
fi