#!/bin/sh # TODO make nicer XRESOURCES=$X11CONFIG/Xresources.$(hostname); [ -f "$XRESOURCES" ] || XRESOURCES=$X11CONFIG/Xresources #xrdb -merge $X11CONFIG/Xresources -merge $X11CONFIG/Xresources.$(hostname) 2>/dev/null & xrdbpid=$! xrdb -merge $XRESOURCES 2>/dev/null & xrdbpid=$! redshift & unclutter -noevents & xkeyconf & xvsync & wait $xrdbpid # Wait for xrdb to ensure the WM starts using the correct DPI settings