Suggestion: Activate night light when Disable Until tomorrow is active
alexandrupetrini opened this issue · 1 comments
alexandrupetrini commented
Hi,
I just solved an annoying issue with my nightlight switch script that was bugging me, more exactly the disable until tomorrow feature that does not allow nightlight activation, so I thought I'd share it here:
BUS_NAME="org.gnome.SettingsDaemon.Color"
OBJECT_PATH="/org/gnome/SettingsDaemon/Color"
stop_disable_until_tomorrow() {
dbus-send --session --dest=$BUS_NAME --print-reply $OBJECT_PATH org.freedesktop.DBus.Properties.Set string:$BUS_NAME string:DisabledUntilTomorrow variant:boolean:false >> /dev/null 2>&1
}
You can add these to your script, if you would like, it's quite a small piece of code, I won't fork it to make a pull request.
PaulCoral commented
Thanks, I will consider your suggestion