summaryrefslogtreecommitdiff
path: root/.config/systemd/user/xresources-dpi@.service
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 20:12:38 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 20:12:38 -0500
commit4e802e740bb2f7c6891271d3eaab39768360e261 (patch)
tree52cd247d9ffabab2f5cfb9f7821fbafbb27678f7 /.config/systemd/user/xresources-dpi@.service
parentbd42aa1b31e2e41cac7ac2ffa6edc05e04354815 (diff)
parentd09fa8687ee01dcb4ef540deb106b8531f56b403 (diff)
Merge branch 'master' into build64-par/master
Diffstat (limited to '.config/systemd/user/xresources-dpi@.service')
-rw-r--r--.config/systemd/user/xresources-dpi@.service15
1 files changed, 15 insertions, 0 deletions
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