summaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-12-01 23:59:31 +0100
committerKevin Chabowski <kevin@kch42.de>2013-12-01 23:59:31 +0100
commitb3eaf4d3e1e3031054fadbc47eb749f47f901e83 (patch)
treebb595da73ea856a77e15420b43d3b43c003963dd /.xinitrc
downloaddotfiles-b3eaf4d3e1e3031054fadbc47eb749f47f901e83.tar.gz
dotfiles-b3eaf4d3e1e3031054fadbc47eb749f47f901e83.tar.bz2
dotfiles-b3eaf4d3e1e3031054fadbc47eb749f47f901e83.zip
Initial commit
Diffstat (limited to '.xinitrc')
-rwxr-xr-x.xinitrc48
1 files changed, 48 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
new file mode 100755
index 0000000..7ed133b
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,48 @@
+#!/bin/sh
+#
+# ~/.xinitrc
+#
+# Executed by startx (run your window manager from here)
+
+if [ -d /etc/X11/xinit/xinitrc.d ]; then
+ for f in /etc/X11/xinit/xinitrc.d/*; do
+ [ -x "$f" ] && . "$f"
+ done
+ unset f
+fi
+
+xset fp rehash
+
+# Windows button is now compose key
+setxkbmap -option compose:lwin
+setxkbmap -option compose:rwin
+
+# Start godoc server
+godoc -http=":6060" &
+
+# exec gnome-session
+# exec startkde
+
+#exec startxfce4
+
+if test -e "$BAR_FIFO"; then
+ rm -f "$BAR_FIFO"
+ mkfifo "$BAR_FIFO"
+fi
+
+if test $(hostname) = "kch42-notebook"; then
+ synclient TapButton1=0
+ synclient VertTwoFingerScroll=0
+ synclient VertEdgeScroll=1
+fi
+
+start-pulseaudio-x11 &
+xsetroot -cursor_name left_ptr &
+hsetroot -fill ~/"Bilder/backgrounds/earthporn/1q1tk1 - milky way behind fuji.jpg"
+dunst &
+sxhkd &
+compton &
+myredshift daemon &
+exec bspwm 2> ~/.bspwm.log
+
+# ...or the Window Manager of your choice