JaKooLit / Arch-Hyprland

For automated installation of Hyprland on Arch or any arch based distros
GNU General Public License v3.0
1.27k stars 106 forks source link

[Bug]: Waybar Weather stuck on "Montreal" #84

Closed RabidWallaby closed 3 months ago

RabidWallaby commented 3 months ago

Bug Report

Description

Waybar Weather information is stuck on Montreal, despite entering the location_id for Edmonton, AB

Steps to Reproduce

  1. Open ~/.config/hypr/UserScripts/Weather.py in editor
  2. Replace default 'location_id' value on Line 27 with "e876694adde0acf7db48905363255bd43964c7ed9626863f7aa8c84770b2daa0"
  3. Change url on Line 32 to "https://weather.com/en-CA/weather/today/l/"

Expected Behavior

Expected Weather information in Waybar to display information for Edmonton, AB, Canada

Actual Behavior

Weather information for Montreal is displayed in Waybar

Screenshots

WeatherWrong em.]

Environment

JaKooLit commented 3 months ago

I just reviewed my wiki and seems wasnt clear

edit ~/.config/waybar/modules

look for weather

put // on the line with weather.sh and delete the // on the line with weather.py

save

refresh with super alt R

JaKooLit commented 3 months ago

https://github.com/JaKooLit/Hyprland-Dots/wiki/TIPS#%EF%B8%8F-weather-app-related-for-waybar-and-hyprlock