yavdr-ansible/roles/yavdr-desktop/templates/systemd/user/openbox-second.service.j2

15 lines
399 B
Plaintext
Raw Normal View History

2017-06-21 10:14:35 +02:00
[Unit]
Description=Start openbox on the second DISPLAY if it exists
After=detect-second-display.service
Wants=detect-second-display.service
Before=yavdr-frontend.service
ConditionFileNotEmpty=%h/.second_display
[Service]
EnvironmentFile=%h/.second_display
ExecStart=/usr/bin/openbox --config-file %h/.config/openbox/rc.xml
2017-12-20 13:31:36 +01:00
ExecStartPost=/bin/bash %h/.fehbg
2017-06-21 10:14:35 +02:00
[Install]
WantedBy=yavdr-desktop.target