I've been using a fluorescent desk lamp to illuminate my print bed. But I found that when I turned off the lamp, it would reset the printer. Both are plugged into the same power strip so there must be some type of power glitch that resets something. A 12" LED light bar popped up during the last Amazon Prime Day and I picked it up. While looking through Thingiverse, I found Venegade's design. I printed it out but found that the light bar was loose. I also wanted the bar captured on all four sides to eliminate the chance that I would bump it and it would fall off.
Venegade mentioned that it would limit the Z height a little bit. I don't print to the full height of the X1, but since I was going to design a new one, I wanted to try something different.
In this design, the holder clips into the 20x40 extrusion from the bottom and the back. Slide it between the top extrusion and the belt, tilt it slightly back and insert the bottom tab into the extrusion channel. Then rotate forward and snap the side tab into the back extrusion channel. On the left side of the printer, you might have to slide the plastic cover inserted in the channel that keeps the run out sensor wire in place.
The housing of my light reaches over 105 deg F so keep that in mind when you choose what plastic to use. I personally prefer PETG because it tolerates higher temperatures and flexes a bit before it snaps. It SHOULD work with PLA, but the design does require a bit of flex to "snap" into place. You might have to adjust some of the parameters to provide enough clearance.
I've included the OpenSCAD file if you find that you need to adjust the model to fit your LED light bar. This was designed for the Artillery Sidewinder X1 printer but it will work with any printer that uses a 20x40 extrusion. You can adjust it to fit your printer and you can change a lot of the parameters. Raise the light bar, extend it farther out or bring it closer in. Change how far the LED bar drops down and the angle it is aimed at.