Yes, I apologize for the lack of information and hasty post. I have a relay setup so that it receives signal from 12V switched wiring in my vehicle and in turn acts as a momentary switch to power on my laptop any time the ignition is in accessories/run.
I would like to do something similar with a transistor if possible to reduce the size of the circuit, but am unsure how to accomplish. I am planning on combining this along with other small circuits on one board for a carpc project.