diff options
author | David Runge <david.runge@frqrec.com> | 2014-04-08 18:34:28 +0200 |
---|---|---|
committer | David Runge <david.runge@frqrec.com> | 2014-04-08 18:34:28 +0200 |
commit | c410c08871304383fbf5b848df31d8181cd92a48 (patch) | |
tree | 42f4187b8c9e015a00880ec71b17551f12f3512c /.xinitrc | |
parent | 98d51080eed5a14d05c6e47217d102eabd4525b4 (diff) | |
download | dotfiles-c410c08871304383fbf5b848df31d8181cd92a48.tar.gz dotfiles-c410c08871304383fbf5b848df31d8181cd92a48.tar.bz2 dotfiles-c410c08871304383fbf5b848df31d8181cd92a48.tar.xz dotfiles-c410c08871304383fbf5b848df31d8181cd92a48.zip |
Adding .Xmodmap, .Xresources
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 |