[Unit] Description=Set the X Resources DataBase DPI to match the display DPI on X display %I Documentation=man:xrdb(1) Before=X11@%i.target Requisite=X11@%i.target Conflicts=xresources@:i.service [Service] Environment=DISPLAY=%I Type=oneshot ExecStart=/usr/bin/env xrdb-set-dpi [Install] WantedBy=X11@%i.target