summaryrefslogtreecommitdiff
path: root/.config/systemd/user/xmodmap@.service
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 20:02:10 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 20:06:21 -0500
commit65cb251ba9d9203056c3c71e49576d7bd7e36069 (patch)
tree025b4015b5b8bed7906f271cc7d3b369c07535ba /.config/systemd/user/xmodmap@.service
parent5e5e5029e76d88b3887bb175e28709a9022323a8 (diff)
more systemd/x11 stuff
Diffstat (limited to '.config/systemd/user/xmodmap@.service')
-rw-r--r--.config/systemd/user/xmodmap@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/systemd/user/xmodmap@.service b/.config/systemd/user/xmodmap@.service
new file mode 100644
index 0000000..57bab8f
--- /dev/null
+++ b/.config/systemd/user/xmodmap@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Load XModMap keyboard map on X display %I
+Documentation=man:xmodmap(1)
+After=X11@%i.target
+Requisite=X11@%i.target
+
+[Service]
+Environment=DISPLAY=%I
+
+Type=oneshot
+ExecStart=-/usr/bin/env xmodmap ${XDG_CONFIG_HOME}/X11/modmap
+
+[Install]
+WantedBy=X11@%i.target