Run command on switch
I’d like to set up my terminal and shell (plus some other non-GTK apps) to follow night light, so an option to run a shell script on switching would be nice.
In line with the minimal nature of this extension, I propose this functionality:
- if a shell script is present at a set location – e.g.
~/.local/bin/night-light-switch
– fire it at switching, otherwise do nothing - run it with
--dark
when switching to night mode, with--light
when switching to day mode