I added many things in this instance. I initially began with the other window, i tried with a calculator, window. I had some issues with making it draggable, and closable, but i managed to get it fixed by making a new variable for the calculator by adding a “2” next to the name.
I then used my knowledge that i learned from the guide, when it was for the topbar. I applied this for the bottom-bar, so now when moving a window dowards the bottom-bar, the bottom-bar stays on top.
I finally learned how to add the battery reading from any computer, it is honestly a lot simpler when doing this with only numbers, but usually, the battery percentage is denoted by the nr in %, but also the color. Therefore i made the if –> then. in js, so if batt % is greater than 50%, then green, and the same for the yellow coloring and the red.
I will work on positioning the battery icon next to the time, so it looks more realistic, than leaving it in the middle.