#!/bin/sh if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then . "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" else . "$HOME/.xprofile" fi if [ -f /etc/hostname ]; then HOST=$(cat /etc/hostname) else HOST=$(hostname) fi if [ "$HOST" == "archmetabox" ] ; then # this is specifically for the laptop so check hostname xrandr --setprovideroutputsource modesetting NVIDIA-G0 xrandr --auto fi if [ "$HOST" == "holocene" ] ; then dwmblocks & exec dwm else ./$MOME/.xmonad/start-xmonad.sh fi