aboutsummaryrefslogtreecommitdiffstats
path: root/_xinitrc
blob: f52892e6d5d4a384983d2050a581d822cfd99b37 (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
#!/bin/sh
#
# ~/.xinitrc
#

# Run all system xinitrc shell scripts.
xinitdir="/etc/X11/xinit/xinitrc.d"
if [ -d "$xinitdir" ]; then
    for script in $xinitdir/*; do
        echo "Loading xinit script $script"
        if [ -x "$script" -a ! -d "$script" ]; then
            . "$script"
        fi
    done
    unset $script
fi

[ -f ~/.Xresources ] && xrdb -load ~/.Xresources

# disable beep
xset b off

# disable CapsLock
setxkbmap -option ctrl:nocaps