Timer: Manage time itself and only use one schedule

This commit is contained in:
Romain Vigier
2022-10-28 12:31:43 +02:00
parent 576d3e78d2
commit d9965df197
11 changed files with 223 additions and 448 deletions
+8
View File
@@ -81,3 +81,11 @@ There's a hidden setting to configure the offset (in hours) applied to the calcu
```
gsettings --schemadir ~/.local/share/gnome-shell/extensions/nightthemeswitcher@romainvigier.fr/schemas/ set org.gnome.shell.extensions.nightthemeswitcher.time offset $DESIRED_OFFSET
```
### I have disabled Location services but want to use sunrise and sunset times from my location
If you know your coordinates, you can enter them in a hidden setting, and the extension will use them to calculate the sunrise and sunset times. You can set it with the `gsettings` command:
```
gsettings --schemadir ~/.local/share/gnome-shell/extensions/nightthemeswitcher@romainvigier.fr/schemas/ set org.gnome.shell.extensions.nightthemeswitcher.time location '($LATITUDE,$LONGITUDE)'
```