summaryrefslogtreecommitdiff
path: root/.config/systemd/user/xresources-dpi@.service
blob: 0aa2c75d57fe8185cc42b7469130c231f895c4b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[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