mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-20 01:25:39 +02:00
weather: add plugin
This plugin fetches weather information in the same fashion as Xmobar's Weather plugin. It fetches from NOAA's website (by default) using their standard format for reporting data from weather stations around the world. Also enable in CI. TODO: Fill out the example configuration in the docfile.
This commit is contained in:
parent
082ab41598
commit
11f7f38a3c
12 changed files with 1187 additions and 0 deletions
6
plugin.c
6
plugin.c
|
@ -93,6 +93,9 @@ EXTERN_MODULE(niri_language);
|
|||
#if defined(HAVE_PLUGIN_niri_workspaces)
|
||||
EXTERN_MODULE(niri_workspaces);
|
||||
#endif
|
||||
#if defined(HAVE_PLUGIN_weather)
|
||||
EXTERN_MODULE(weather);
|
||||
#endif
|
||||
#if defined(HAVE_PLUGIN_xkb)
|
||||
EXTERN_MODULE(xkb);
|
||||
#endif
|
||||
|
@ -232,6 +235,9 @@ static void __attribute__((constructor)) init(void)
|
|||
#if defined(HAVE_PLUGIN_niri_workspaces)
|
||||
REGISTER_CORE_MODULE(niri-workspaces, niri_workspaces);
|
||||
#endif
|
||||
#if defined(HAVE_PLUGIN_weather)
|
||||
REGISTER_CORE_MODULE(weather, weather);
|
||||
#endif
|
||||
#if defined(HAVE_PLUGIN_xkb)
|
||||
REGISTER_CORE_MODULE(xkb, xkb);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue