To install, first set your directory for custom plugins in your config file.
Find or add main.custom_plugins = "/custom/plugin/directory"
Initially, it may be empty.
After that, add clock.py
to that folder.
Finally, enable it in your config.toml by adding the following line:
main.plugins.clock.enabled = true
main.plugins.clock.date_x_coord = 0
main.plugins.clock.date_y_coord = 96
main.plugins.clock.time_x_coord = 50
main.plugins.clock.time_y_coord = 96
main.plugins.clock.date_format = "%m/%d/%y"
main.plugins.clock.time_format = "%I:%M%p"
Bother me in my discord server (I am Logandev_)
SSH into your Pwnagotchi and set your time zone.
sudo timedatectl set-timezone <your_time_zone>