aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-04-08 18:34:28 +0200
committerDavid Runge <david.runge@frqrec.com>2014-04-08 18:34:28 +0200
commitc410c08871304383fbf5b848df31d8181cd92a48 (patch)
tree42f4187b8c9e015a00880ec71b17551f12f3512c
parent98d51080eed5a14d05c6e47217d102eabd4525b4 (diff)
downloaddotfiles-c410c08871304383fbf5b848df31d8181cd92a48.tar.gz
dotfiles-c410c08871304383fbf5b848df31d8181cd92a48.tar.bz2
dotfiles-c410c08871304383fbf5b848df31d8181cd92a48.tar.xz
dotfiles-c410c08871304383fbf5b848df31d8181cd92a48.zip
Adding .Xmodmap, .Xresources
-rwxr-xr-x.xinitrc26
1 files 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