diff options
author | PastLeo | 2019-11-18 00:34:24 +0800 |
---|---|---|
committer | PastLeo | 2019-11-18 00:55:07 +0800 |
commit | 02bc2589fed0912d2eb53c81b75f9e754156db10 (patch) | |
tree | 56d34d5c444954f9b60c58930fcf2a8d287aca33 /xrandr-watcher.service | |
parent | 821f68abbadc4c28a925259fe353c044892171e6 (diff) | |
download | aur-02bc2589fed0912d2eb53c81b75f9e754156db10.tar.gz |
correct start at login behavior
Diffstat (limited to 'xrandr-watcher.service')
-rw-r--r-- | xrandr-watcher.service | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xrandr-watcher.service b/xrandr-watcher.service index 86300bf68148..2093ef8fa32e 100644 --- a/xrandr-watcher.service +++ b/xrandr-watcher.service @@ -5,6 +5,8 @@ Description=Xrandr Watcher 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=graphical.target +WantedBy=default.target |