Switchcraft watches GNOME's light/dark preference and runs your shell commands when the theme changes.