504098ed74
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 |
||
---|---|---|
.. | ||
attached_clients.sh | ||
battery.sh | ||
continuum.sh | ||
cpu_info.sh | ||
cwd.sh | ||
dracula.sh | ||
fossil.sh | ||
git.sh | ||
gpu_power.sh | ||
gpu_ram_info.sh | ||
gpu_usage.sh | ||
hg.sh | ||
kubernetes_context.sh | ||
mpc.sh | ||
network.sh | ||
network_bandwidth.sh | ||
network_ping.sh | ||
network_vpn.sh | ||
ram_info.sh | ||
spotify-tui.sh | ||
ssh_session.sh | ||
synchronize_panes.sh | ||
terraform.sh | ||
tmux_ram_info.sh | ||
utils.sh | ||
weather.sh | ||
weather_wrapper.sh |