From 77b8ce97afa25b6b746d982fac4633d7865aca89 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 4 Sep 2011 14:33:49 -0400 Subject: Added xinitrc --- _xinitrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 _xinitrc 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 -- cgit 1.4.1