#!/usr/bin/env zsh dpi=`xdpyinfo | grep -oP 'resolution:\s+\K\S+'` host=$(hostname) if [[ $dpi == 96x96 ]]; then GDK_DPI_SCALE=1.3 /usr/bin/env firefox $@ else /usr/bin/env firefox $@ fi