mirror of
https://github.com/phillipberndt/autorandr
synced 2025-03-01 10:11:20 +00:00
It's time that we use StartLimitIntervalSec as even Debian stable has a recent enough systemd version.
15 lines
265 B
Desktop File
15 lines
265 B
Desktop File
[Unit]
|
|
Description=autorandr execution hook
|
|
After=sleep.target
|
|
StartLimitIntervalSec=5
|
|
StartLimitBurst=1
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/autorandr --batch --change --default default
|
|
Type=oneshot
|
|
RemainAfterExit=false
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=sleep.target
|