readme: add some notes

This commit is contained in:
Pavel Korytov 2024-03-12 00:16:23 +03:00
parent 6a19f636bf
commit fb1ebdb02c

View file

@ -65,6 +65,8 @@ To save a query for later, press =P= in the root of the query interface. This wi
Add this somewhere in your config after the package is loaded, e.g., in the =:config= section of the =use-package= form or wrapped in [[https://www.gnu.org/software/emacs/manual/html_node/elisp/Hooks-for-Loading.html#index-with_002deval_002dafter_002dload][with-eval-after-load]]. Running =M-x biome-query-preset-177= will create a query interface with this preset.
Alternatively, use the =add-to-list= form (generated below the =biome-def-preset= form). Presets added that way will show up in =M-x biome-presets= or "Presets" in =M-x biome=.
Table formatting can be configured with =biome-grid-format=; check the docstring for more information. For instance, if you want to disable all gradients:
#+begin_src emacs-lisp
(setq biome-grid-format (seq-filter (lambda (f) (not (eq (car-safe (nth 2 f))
@ -72,6 +74,11 @@ Table formatting can be configured with =biome-grid-format=; check the docstring
biome-grid-format))
#+end_src
Turn off highlighting of the current hour or day as follows:
#+begin_src emacs-lisp
(setq biome-grid-highlight-current nil)
#+end_src
* Composite queries
The package also allows executing multiple queries at once to join their results. This can be useful for comparing weather in different locations or for viewing different reports about the same location.