Only load files if the exist

da26c22e4ce3d83481a88338ac01c24bd852b927
Alexis Sellier committed ago 1 parent 0f0c40ae
.xinitrc +2 -2
7 7
xset -dpms                           # Keep screen on at all times
8 8
xset s off                           #
9 9
xset m 4/3 0                         # Pointer settings
10 10
setxkbmap -option compose:ralt       # Set compose key to R-Alt
11 11
12 -
. ~/.profile
13 -
. ~/.synaptics
12 +
[ -f ~/.profile ]   && . ~/.profile
13 +
[ -f ~/.synaptics ] && . ~/.synaptics
14 14
15 15
if [ -f ~/.Xmodmap ]; then
16 16
  xmodmap ~/.Xmodmap;
17 17
fi
18 18