2020-12-20 20:36:27 +01:00
|
|
|
[Unit]
|
|
|
|
|
BindsTo=autostart.target
|
2020-12-21 17:57:18 +01:00
|
|
|
After=windowmanager.target
|
2020-12-20 20:36:27 +01:00
|
|
|
ConditionEnvironment=MACHINE_DEFAULT_SCREENPROFILE
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Type=oneshot
|
|
|
|
|
# systemd.service(5):
|
|
|
|
|
|
|
|
|
|
# > The command to execute may contain spaces, but control characters are not
|
|
|
|
|
# > allowed.
|
|
|
|
|
ExecStart=bash -c '%h/.screencfg/${MACHINE_DEFAULT_SCREENPROFILE}.sh'
|
|
|
|
|
RemainAfterExit=true
|