#!/bin/sh pidof -q emacs 2>&1 && test "$DISPLAY"