aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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