[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 # don't run concurrently with another run of xrdb [Service] Environment=DISPLAY=%I Type=oneshot ExecStart=/usr/bin/env xrdb-set-dpi [Install] WantedBy=X11@%i.target