+#!/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
# Effectively disable DPMS by setting values to 0 as laptop screen does not resume
# Use standard blank screen saver after 5 minutes
-export DISPLAY=:0.0
+#export DISPLAY=:0.0
xset s 300
xset s blank
xset dpms 0 0 0
# Enable core dumps in case something goes wrong
ulimit -c unlimited
+# Append "$1" to $PATH when not already in.
+append_path () {
+ case ":$PATH:" in
+ *:"$1":*)
+ ;;
+ *)
+ PATH="${PATH:+$PATH:}$1"
+ esac
+}
+
+# Append our default paths
+append_path '/home/frederik/scripts'
+
# Start i3 and log to ~/.i3logfile
echo "Starting at $(date)" >> ~/.i3logfile
-exec /usr/bin/i3 -V -d all >> ~/.i3logfile
+#exec /usr/bin/i3
+exec startxfce4