From 65cb251ba9d9203056c3c71e49576d7bd7e36069 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 27 Feb 2016 20:02:10 -0500 Subject: more systemd/x11 stuff --- .config/systemd/user/xresources-dpi@.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .config/systemd/user/xresources-dpi@.service (limited to '.config/systemd/user/xresources-dpi@.service') diff --git a/.config/systemd/user/xresources-dpi@.service b/.config/systemd/user/xresources-dpi@.service new file mode 100644 index 0000000..82f2096 --- /dev/null +++ b/.config/systemd/user/xresources-dpi@.service @@ -0,0 +1,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 + +[Service] +Environment=DISPLAY=%I + +Type=oneshot +ExecStart=/usr/bin/env xrdb-set-dpi + +[Install] +WantedBy=X11@%i.target -- cgit v1.2.3-54-g00ecf