Add example script to switch primary and secondary display applications

also don't run detect-second-display multiple times during a session.
This commit is contained in:
Alexander Grothe
2018-09-30 10:57:26 +02:00
parent ae5d68ed79
commit 1fbd634d43
5 changed files with 544 additions and 473 deletions

View File

@@ -103,6 +103,14 @@
owner: '{{ vdr.user }}'
group: '{{ vdr.group }}'
- name: create switch-displays script
template:
src: templates/bin/switch-displays.j2
dest: '{{ vdr.home }}/bin/switch-displays'
mode: 0755
owner: '{{ vdr.user }}'
group: '{{ vdr.group }}'
- name: create openbox-second.service for the session
template:
src: templates/systemd/user/openbox-second.service.j2