aboutsummaryrefslogtreecommitdiffstats
path: root/_xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '_xinitrc')
-rw-r--r--_xinitrc25
1 files changed, 25 insertions, 0 deletions
diff --git a/_xinitrc b/_xinitrc
new file mode 100644
index 0000000..f52892e
--- /dev/null
+++ b/_xinitrc
@@ -0,0 +1,25 @@
+#!/bin/sh
+#
+# ~/.xinitrc
+#
+
+# Run all system xinitrc shell scripts.
+xinitdir="/etc/X11/xinit/xinitrc.d"
+if [ -d "$xinitdir" ]; then
+ for script in $xinitdir/*; do
+ echo "Loading xinit script $script"
+ if [ -x "$script" -a ! -d "$script" ]; then
+ . "$script"
+ fi
+ done
+ unset $script
+fi
+
+[ -f ~/.Xresources ] && xrdb -load ~/.Xresources
+
+# disable beep
+xset b off
+
+# disable CapsLock
+setxkbmap -option ctrl:nocaps
+