summary refs log tree commit diff
path: root/.xinitrc
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2012-03-28 16:26:58 -0400
committerJune McEnroe <june@causal.agency>2012-03-28 16:26:58 -0400
commit2f4dd4187f70b8505f7757f4a1c42567e034f2a5 (patch)
treeef087197c3d884b975726b240b5dafc84350c935 /.xinitrc
parentRemoved vimrc (diff)
downloadsrc-2f4dd4187f70b8505f7757f4a1c42567e034f2a5.tar.gz
src-2f4dd4187f70b8505f7757f4a1c42567e034f2a5.zip
Reformat for use with Effuse
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc17
1 files changed, 17 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 00000000..ef325a38
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,17 @@
+export BROWSER=chromium
+
+xrdb ~/.Xresources &
+xautolock -locker slimlock -time 30 &
+start-pulseaudio-x11 &
+mpd &
+mpdscribble &
+mpDris2 &
+
+# 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
+xmodmap -e "remove mod1 = Alt_L" -e "remove mod4 = Super_L" -e "add mod1 = Super_L" -e "add mod4 = Alt_L" # Swap Super and Alt
+
+SESSION=openbox-session
+[ $1 ] && SESSION=$1
+exec ck-launch-session dbus-launch $SESSION