diff options
author | June McEnroe <june@causal.agency> | 2011-09-04 14:33:49 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2011-09-04 14:33:49 -0400 |
commit | 5f89e81de9eef45a4eaa26bda9d46307ea839c63 (patch) | |
tree | ed1f6826db4b42fb818e763a62f48bb604eaa36a | |
parent | Added Ruby REPL configs (diff) | |
download | src-5f89e81de9eef45a4eaa26bda9d46307ea839c63.tar.gz src-5f89e81de9eef45a4eaa26bda9d46307ea839c63.zip |
Added xinitrc
Diffstat (limited to '')
-rw-r--r-- | _xinitrc | 16 |
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 |