Commit graph

3 commits

Author SHA1 Message Date
Nybkox
a5bee81d7a
chore: replace all dracula occurrences with kanagawa 2024-05-08 22:42:27 +02:00
David Dunham
504098ed74 Fix multi word fixed location
If you set the @dracula-fixed-location to "San Diego, California" it
ends up looking at "San" which is somewhere in South Korea. This occurs
for any fixed-location that has a space. Something like
"Portland, Oregon" can be modified to "Portland,Oregon" and still work
but we can't remove the space from "San Diego". The reason that spaces
in the fixed location break the backend request is that dracula.sh loses
everything after the space.

Q: Why does the fixed-location end up as "San"?
A: In dracula.sh the fixed-location is not wrapped in quotes when
embedded in the status-right string.

A: In weather_wrapper.sh the call to weather.sh does not wrap the
fixed-location argument with quotes.

Q: When these are fixed why do we get a broken link?
A: Since we are calling a web service using a url, we need to escape
the spaces by changing them to %20
2024-01-03 17:59:07 -08:00
Mykhailo Nikiforov
643d51c00c
fix weather script 2023-04-20 14:59:54 +03:00