mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-25 04:42:14 +00:00
allow city names with space #301
This commit is contained in:
parent
b285071443
commit
1f1283f062
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ const BatteryModule = () => Stack({
|
|||
}
|
||||
});
|
||||
if (userOptions.weather.city != '' && userOptions.weather.city != null) {
|
||||
updateWeatherForCity(userOptions.weather.city);
|
||||
updateWeatherForCity(userOptions.weather.city.replace(/ /g, '%20'));
|
||||
}
|
||||
else {
|
||||
Utils.execAsync('curl ipinfo.io')
|
||||
|
|
|
|||
Loading…
Reference in a new issue