Sway low battery notification

Hello. Can someone help me setup a low battery notification in fedora sway or sway atomic? For example, how you get notified in gnome or kde when battery alerts at low percentage. The notification has to be also seen in fullscreen mode when playing a movie. Is there a step by step guide? Install packages, create script, etc. Is it possible to adjust the thresholds when the notifier will display, like at 20% low battery notify, 12% critical battery?

There are a few options.
Whether they suit your use case you will have to try.

  1. Use waybar
  2. GitHub - m00qek/swaynag-battery: Shows a message when your battery is discharging
  3. A script Reddit - The heart of the internet
  4. Mako (I’ll add more info or edit later if I get this working) GitHub - emersion/mako: A lightweight Wayland notification daemon it is in Fedora repo so no need to use the git