I redid the code to be easier to add to and customize, added funny camera program

originally everything was hardcoded, I was trying to explain the 2 files you would have to edit and the 20 or so lines it would take to add a new program to the launcher. I realized that if I was able to store the important bits in a file it would be much easier to modify. This is the contents of the file for the existing items I had hardcoded. I also built a 2nd prototype.

[Kodi]
color = "red"
cmd = "sudo -u pi kodi"
process = "kodi.bin_v7"

[RetroPie]
color = "green"
cmd = "sh retropie.sh"
process = "retroarch emulationstatio"

["Pet Camera"]
color = "red"
cmd = "python3 petcamera.py"
process = "python3"

["Funny Camera"]
color = "purple"
cmd = "python3 funnycamera.py"
process = "python3"

["Camera"]
color = "blue"
cmd = "python3 camera.py"
process = "python3"

["Video w/Audio"]
color = "brown"
cmd = "sh videosound.sh"
process = "raspivid ffmpeg"

["Livestream (YT)"]
color = "orange"
cmd = "sh youtube.sh"
process = "raspivid ffmpeg"

I also made a new camera program called “funny camera” that uses opencv to overlay images on detected faces, it is also fed by a file to make it easy to add your own images and put them where you want on peoples faces

[brainslug]
display_name = "Slugs"
file = "mask2.png"
location = "top-right"

["brain blender"]
display_name = "Blenders"
file = "mask4.png"
location = "top"

["dum sticker"]
display_name = "Dum"
file = "maskdum.png"
location = "center-right"

Improved Wiring

I figured out how to power PiGlass v2 and the vufine for many hours with a single port 5v 2a USB battery pack. It involves connecting the micro USB port on the pi zero 2 to the micro USB port on the vufine with one of these, it follows the same path as the HDMI cable. Previously I was using a 2 port battery pack and 2 cables. The cable for the vufine tended to get caught on things, this new cable fixes that problem.
https://www.adafruit.com/product/3610