summary refs log tree commit diff
path: root/_xinitrc
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2011-09-04 14:33:49 -0400
committerJune McEnroe <june@causal.agency>2011-09-04 14:33:49 -0400
commit5f89e81de9eef45a4eaa26bda9d46307ea839c63 (patch)
treeed1f6826db4b42fb818e763a62f48bb604eaa36a /_xinitrc
parentAdded Ruby REPL configs (diff)
downloadsrc-5f89e81de9eef45a4eaa26bda9d46307ea839c63.tar.gz
src-5f89e81de9eef45a4eaa26bda9d46307ea839c63.zip
Added xinitrc
Diffstat (limited to '_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