summarylogtreecommitdiffstats
path: root/xrandr-watcher.service
diff options
context:
space:
mode:
authorPastLeo2019-11-16 18:03:30 +0800
committerPastLeo2019-11-16 18:03:30 +0800
commitd372b75497b6ed801f1122c3289b68f3224a300b (patch)
tree02bc13d784823656a04de14f2d446b8549354701 /xrandr-watcher.service
downloadaur-d372b75497b6ed801f1122c3289b68f3224a300b.tar.gz
publish xrandr-watch-git to AUR
Diffstat (limited to 'xrandr-watcher.service')
-rw-r--r--xrandr-watcher.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/xrandr-watcher.service b/xrandr-watcher.service
new file mode 100644
index 000000000000..86300bf68148
--- /dev/null
+++ b/xrandr-watcher.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Xrandr Watcher
+
+[Service]
+Type=simple
+Environment=XRANDR_DEFAULT_HANDLER_SCRIPT=/usr/bin/xrandr-watcher-handler-example
+ExecStart=/usr/bin/xrandr-watcher %h/.xrandr-changed
+
+[Install]
+WantedBy=graphical.target