diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-02-20 14:41:47 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-02-20 14:41:47 +0100 |
commit | cc3370f00108525d61c969e314174129143e7e6f (patch) | |
tree | 630201fd90d1744c8ef5b69e9c54b35ee3e587cd | |
parent | a7789f7a54180b44e737ee1ca13fec58380b1e8e (diff) |
chore: Add note about timezones and automatic theme switching
-rw-r--r-- | README | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -40,6 +40,14 @@ Where =tailor.lisp= is a custom file that you should create relative to Nyxt's c In addition, you should provide the extension options, explained in the following section. +To ensure automatic theme switching works accurately both at startup and through the timers, you should have the following snippet in your configuration *before* the =nyxt-user= system definition shown above. + +#+begin_src lisp +(local-time:reread-timezone-repository) +(setf local-time:*default-timezone* + (local-time:find-timezone-by-location-name "<your_timezone>")) +#+end_src + ** Configuration As mentioned, =nx-tailor= is just a layer above the =nyxt/theme= library, which is why its configuration is quite minimal. |