Juraj Fiala opened issue #25: Custom command not fired if Night Light is activated during sleep at Romain Vigier / Night Theme Switcher

Juraj Fiala
2020-07-14T08:18:35Z

My system

Distribution (name and version): Fedora Silverblue 32

GNOME Shell version: 3.36.4

I installed the extension: From extensions.gnome.org

My problem

I have set the extensions to run a custom command on switch to day and to night. It doesn’t work if I wake the computer up in the morning/late evening.

Description of the problem

If I manually toggle Night Light, the extension correctly runs. However if the system starts in a state where the theme needs to be changed, only the Gtk theme gets changed, the command is not run.

Steps to reproduce

During the day, install the extension and set a command to be run at night

Put the computer to sleep, wait until evening

Wake the computer up in the evening at a time Night Light should already be active, observe the extension correctly changes the theme but does not trigger the command