From c410c08871304383fbf5b848df31d8181cd92a48 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 8 Apr 2014 18:34:28 +0200 Subject: Adding .Xmodmap, .Xresources --- .xinitrc | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/.xinitrc b/.xinitrc index 29ef72e..4eabc1e 100755 --- a/.xinitrc +++ b/.xinitrc @@ -1,18 +1,26 @@ #!/bin/sh -syndaemon -t -k -i 2 & +# 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 '' -setxkbmap -option 'grp:alt_space_toggle' -setxkbmap -option 'grp:shift_toggle' -setxkbmap -option 'grp_led:caps' -setxkbmap -option 'caps:escape' + +#setxkbmap -option 'caps:escape' #setxkbmap -option 'ctrl:swapcaps' #setxkbmap -option 'ctrl:nocaps' + +# turn bell off xset b off -#if [ -f $HOME/.Xmodmap ]; then -# /usr/bin/xmodmap $HOME/.Xmodmap -#fi +# use .Xmodmap +if [[ -f ~/.Xmodmap ]]; then + /usr/bin/xmodmap ~/.Xmodmap +fi +# use .Xresources +if [[ -f ~/.Xresources ]];then + /usr/bin/xrdb ~/.Xresources +fi -- cgit v1.2.3-70-g09d2