summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2011-09-04 14:33:49 -0400
committerJune McEnroe <programble@gmail.com>2011-09-04 14:33:49 -0400
commit77b8ce97afa25b6b746d982fac4633d7865aca89 (patch)
tree714b85206b752357d7a102d659ce0fe0c0287308
parentAdded Ruby REPL configs (diff)
downloadsrc-77b8ce97afa25b6b746d982fac4633d7865aca89.tar.gz
src-77b8ce97afa25b6b746d982fac4633d7865aca89.zip
Added xinitrc
-rw-r--r--_xinitrc16
1 files changed, 16 insertions, 0 deletions
diff --git a/_xinitrc b/_xinitrc
new file mode 100644
index 00000000..3b8385f4
--- /dev/null
+++ b/_xinitrc
@@ -0,0 +1,16 @@
+eval `dbus-launch --sh-syntax --exit-with-session`
+
+xrdb ~/.Xresources &
+xautolock -locker slimlock &
+
+# Keyboard stuff
+xmodmap -e "clear Lock" -e "keysym Caps_Lock = Escape" # Caps Lock -> Esc
+xmodmap -e "remove mod1 = Alt_R" -e "keysym Alt_R = Multi_key" # Right Alt -> Compose
+
+DEFAULT=openbox-session
+
+if [[ $1 ]]; then
+    exec $1
+else
+    exec $DEFAULT
+fi