yavdr-ansible/roles/yavdr-desktop/templates/systemd/user/detect-second-display.service.j2
Alexander Grothe 1fbd634d43 Add example script to switch primary and secondary display applications
also don't run detect-second-display multiple times during a session.
2018-09-30 10:57:26 +02:00

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