diff --git a/.screenlayout/normal.sh b/.screenlayout/normal.sh deleted file mode 100755 index b92aab5..0000000 --- a/.screenlayout/normal.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -xrandr --output DVI-D-0 --mode 1680x1050 --pos 4240x195 --rotate normal --output HDMI-0 --mode 1680x1050 --pos 0x195 --rotate normal --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --mode 1280x1024 --pos 4240x1245 --rotate normal --output DP-4 --primary --mode 2560x1440 --pos 1680x0 --rotate normal --output DP-5 --off --output DVI-I-1-0 --off --output DVI-I-1-1 --off --output HDMI-1-0 --off diff --git a/.xinitrc b/.xinitrc index 2445096..eacada3 100644 --- a/.xinitrc +++ b/.xinitrc @@ -40,10 +40,21 @@ fi # it seems modules and xorg confs were not due to there being an intel # integrated card, not sure how the desktop will react though -HOST=$(cat /etc/hostname) +HOST=$(hostname) 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 + [ -f ~/.xprofile ] && . ~/.xprofile + + dwmblocks & + + while true; do + dwm >/dev/null 2>&1 + done + + exec dwm +fi