#!/bin/sh # Generates .Xresources dpi="92" if [ $(xdpyinfo | awk '/dimensions/ {print $2}') == '3840x2160' ]; then dpi="192" fi cat <