diff --git a/pika-hyprland-settings/etc/skel/.config/ags/lib.js b/pika-hyprland-settings/etc/skel/.config/ags/lib.js index 89824ee..6ec3810 100644 --- a/pika-hyprland-settings/etc/skel/.config/ags/lib.js +++ b/pika-hyprland-settings/etc/skel/.config/ags/lib.js @@ -10,7 +10,7 @@ export const getTemp = (temp) => { export const getWeatherSymbol = (weatherCode) => { const dt = new Date(); const hour = dt.getHours(); - if (hour < 7 || hour > 21) { + if (hour <= 7 || hour >= 20) { return NIGHT_WEATHER_SYMBOL[WWO_CODE[weatherCode]]; } return WEATHER_SYMBOL[WWO_CODE[weatherCode]]; @@ -160,4 +160,4 @@ const NIGHT_WEATHER_SYMBOL = { "ThunderyShowers": "thunderstorm", "ThunderySnowShowers": "thunderstorm", "VeryCloudy": "cloud", -} \ No newline at end of file +}