dracula / dracula/tmux

Bug: Weather slow to update, sometimes gives unknown location, can't refresh

Open
#331 4 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Shell
Stars
856
Forks
368
Avg merge
2m
Merged PRs (30d)
1

Description

### Describe the bug
When using the weather plugin in Dracula, I find that the weather often lags behind what it actually is -- for example, it may be 58 degrees and sunny at 11am and 65 degrees and rainy by 2pm, but the plugin will continue to show 58 degrees and sunny for hours without changing. Eventually it will change, at seemingly arbitrary times. I know the plugin retrieves weather from wttr.in, and if I query wttr.in myself I will rarely find the same weather Dracula is showing for my location. Reloading .tmux.conf or reinstalling plugins does not seem to refresh the weather API query.

Additionally I got [this error](https://i.trixi.cc/qrOKS.png) today, but that's almost certainly because wttr.in seems to be down at the moment. This is an unrelated issue (and no big deal for me), but the blurred segment is my latitude and longitude and I see that weather.sh is intended to protect against PI leaks. Another issue is that this error is overlapping my clock.

### To Reproduce
Using weather plugin as intended.

### Expected behavior
I would expect the weather to query the weather API at more frequent intervals. I would also expect reloading my .tmux.conf to refresh the weather to the current conditions.

### Screenshots
See link above

### System
- OS: Ubuntu 24.04
- Tmux Version: 3.4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.