]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/xfce/files/xinitrc
Add basic xfce config
[max/saltfiles.git] / states / xfce / files / xinitrc
diff --git a/states/xfce/files/xinitrc b/states/xfce/files/xinitrc
new file mode 100644 (file)
index 0000000..50daba1
--- /dev/null
@@ -0,0 +1,24 @@
+#!/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
+
+# Source ~/.xprofile
+[ -f /etc/xprofile ] && . /etc/xprofile
+[ -f ~/.xprofile ] && . ~/.xprofile
+case $HOSTNAME in
+  *)
+    exec startxfce4
+    ;;
+esac
+
+# vim: set expandtab tabstop=2 smarttab: