diff --git a/README.md b/README.md index e4a904e..9c37a18 100644 --- a/README.md +++ b/README.md @@ -4,18 +4,6 @@
Beautiful lightweight weather app based on Python and Gtk
-Current Weather conditions and forcasts.
Features:
Bug fixes
+Thanks to
+Bug fixes
diff --git a/src/frontendForecast.py b/src/frontendForecast.py index c32cfe9..d4dcd0b 100644 --- a/src/frontendForecast.py +++ b/src/frontendForecast.py @@ -142,29 +142,29 @@ def page_stacks(self, page_name): forecast_cond_grid = Gtk.Grid(valign=Gtk.Align.CENTER,margin_end = 20) forecast_item_grid.attach(forecast_cond_grid, 2, 0, 1, 1) - # prec probability - if page_name == 'tomorrow': - prec_probability = hourly_data.precipitation_probability.get("data")[i] - wind_probability = hourly_data.windspeed_10m.get("data")[i] + # # prec probability + # if page_name == 'tomorrow': + # prec_probability = hourly_data.precipitation_probability.get("data")[i] + # wind_probability = hourly_data.windspeed_10m.get("data")[i] - drop_icon = Gtk.Image().new_from_file(icons["raindrop"]) - drop_icon.set_pixel_size(25) - drop_icon.set_halign(Gtk.Align.START) - forecast_cond_grid.attach(drop_icon, 0, 0, 1, 1) - - prec_probability_label = Gtk.Label(label=f" {prec_probability}%", margin_top=5) - prec_probability_label.set_halign(Gtk.Align.START) - forecast_cond_grid.attach(prec_probability_label, 1, 0, 1, 1) + # drop_icon = Gtk.Image().new_from_file(icons["raindrop"]) + # drop_icon.set_pixel_size(25) + # drop_icon.set_halign(Gtk.Align.START) + # forecast_cond_grid.attach(drop_icon, 0, 0, 1, 1) + + # prec_probability_label = Gtk.Label(label=f" {prec_probability}%", margin_top=5) + # prec_probability_label.set_halign(Gtk.Align.START) + # forecast_cond_grid.attach(prec_probability_label, 1, 0, 1, 1) - # Wind speed probability - wind_icon = Gtk.Image().new_from_file(icons["wind"]) - wind_icon.set_pixel_size(25) - wind_icon.set_halign(Gtk.Align.START) - forecast_cond_grid.attach(wind_icon, 0, 1, 1, 1) - speed_unit= hourly_data.windspeed_10m.get("unit") - wind_probability_label = Gtk.Label(label=f" {wind_probability} {speed_unit}", margin_top=5) - forecast_cond_grid.attach(wind_probability_label, 1, 1, 1, 1) + # # Wind speed probability + # wind_icon = Gtk.Image().new_from_file(icons["wind"]) + # wind_icon.set_pixel_size(25) + # wind_icon.set_halign(Gtk.Align.START) + # forecast_cond_grid.attach(wind_icon, 0, 1, 1, 1) + # speed_unit= hourly_data.windspeed_10m.get("unit") + # wind_probability_label = Gtk.Label(label=f" {wind_probability} {speed_unit}", margin_top=5) + # forecast_cond_grid.attach(wind_probability_label, 1, 1, 1, 1) # Temp label grid diff --git a/website/index.html b/website/index.html index acd6862..d21f822 100644 --- a/website/index.html +++ b/website/index.html @@ -11,7 +11,7 @@ integrity="sha512-Avb2QiuDEEvB4bZJYdft2mNjVShBftLdPG8FJ0V7irTLQ8Uo0qcPxh4Plq7G5tGm0rU+1SPhVotteLpBERwTkw==" crossorigin="anonymous" referrerpolicy="no-referrer" /> -Or you can use the terminal:
sudo snap install mousam
+
+ Thanks to @hsbasu for maintaining Debian package
+ See Installation Instructions