Switchcraft watches GNOME's light/dark preference and runs your shell commands when the theme changes.
SITE/SOURCE: https://github.com/kem-a/switchcraft