summarylogtreecommitdiffstats
path: root/xrandr-watcher.service
blob: 2093ef8fa32e9b6f982f7906dace9c8e535eb9c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[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
Restart=on-failure
RestartSec=5s

[Install]
WantedBy=default.target