forked from Shinonome/dots-hyprland
allow city names with space #301
This commit is contained in:
@@ -185,7 +185,7 @@ const BatteryModule = () => Stack({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (userOptions.weather.city != '' && userOptions.weather.city != null) {
|
if (userOptions.weather.city != '' && userOptions.weather.city != null) {
|
||||||
updateWeatherForCity(userOptions.weather.city);
|
updateWeatherForCity(userOptions.weather.city.replace(/ /g, '%20'));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Utils.execAsync('curl ipinfo.io')
|
Utils.execAsync('curl ipinfo.io')
|
||||||
|
|||||||
Reference in New Issue
Block a user