diff options
Diffstat (limited to '.xinitrc')
-rwxr-xr-x | .xinitrc | 26 |
1 files changed, 17 insertions, 9 deletions
@@ -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 |