#!/bin/sh

if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then
	. "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile"
else
	. "$HOME/.xprofile"
fi

HOST=$(cat /etc/hostname)
if [ "$HOST" == "archmetabox" ] ; then
	# this is specifically for the laptop so check hostname
	xrandr --setprovideroutputsource modesetting NVIDIA-G0
	xrandr --auto
fi


HOST=$(hostname)
if [ "$HOST" == "holocene" ] ; then

    dwmblocks &

    exec dwm
fi
