1fbd634d43
also don't run detect-second-display multiple times during a session.
11 lines
178 B
Django/Jinja
11 lines
178 B
Django/Jinja
[Unit]
|
|
Description=Detect second DISPLAY using xrandr
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=%h/bin/detect-second-display
|
|
|
|
[Install]
|
|
WantedBy=yavdr-desktop.target
|