aboutsummaryrefslogtreecommitdiffstats
path: root/.xinitrc
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-01-06 19:07:26 +0800
committerAaron LI <aaronly.me@gmail.com>2016-01-06 19:07:26 +0800
commit258b5a48933b2c34dcfb042029d477ba285071d7 (patch)
treedfea371b67fe8f5e5c1f08d89cd96b8f759b0fcb /.xinitrc
parent4ddf40c8fe543d07738e5368194ebcb9cf06b136 (diff)
downloaddotfiles-258b5a48933b2c34dcfb042029d477ba285071d7.tar.bz2
Add .Xmodmap & .inputrc; Other small updates.
* .Xmodmap: disable CapsLock key * .inputrc: vi-style bindings for readline
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc12
1 files changed, 11 insertions, 1 deletions
diff --git a/.xinitrc b/.xinitrc
index bfeb0a2..f52892e 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,4 +1,7 @@
#!/bin/sh
+#
+# ~/.xinitrc
+#
# Run all system xinitrc shell scripts.
xinitdir="/etc/X11/xinit/xinitrc.d"
@@ -9,7 +12,14 @@ if [ -d "$xinitdir" ]; then
. "$script"
fi
done
+ unset $script
fi
-[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
+[ -f ~/.Xresources ] && xrdb -load ~/.Xresources
+
+# disable beep
+xset b off
+
+# disable CapsLock
+setxkbmap -option ctrl:nocaps