diff --git a/src/constants.rs b/src/constants.rs
index 81b1926..3619d8f 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -1,64 +1,52 @@
pub const WEATHER_CODES: &[(i32, &str)] = &[
- (113, "âī¸"),
- (116, "đ¤ī¸"),
- (119, "âī¸"),
- (122, "đĨī¸"),
- (143, "đĢī¸"),
- (176, "đĻī¸"),
- (179, "đ§ī¸"),
- (182, "đ¨ī¸"),
- (185, "đ¨ī¸"),
- (200, "đŠī¸"),
- (227, "âī¸"),
- (230, "âī¸"),
- (248, "đĢī¸"),
- (260, "đĢī¸"),
- (263, "đ§ī¸"),
- (266, "đ§ī¸"),
- (281, "đĻī¸"),
- (284, "đĻī¸"),
- (293, "đ§ī¸"),
- (296, "đ§ī¸"),
- (299, "đ§ī¸"),
- (302, "đ§ī¸"),
- (305, "đ§ī¸"),
- (308, "đ§ī¸"),
- (311, "đ§ī¸"),
- (314, "đ§ī¸"),
- (317, "đ§ī¸"),
- (320, "đ¨ī¸"),
- (323, "đ¨ī¸"),
- (326, "đ¨ī¸"),
- (329, "đ¨ī¸"),
- (332, "đ¨ī¸"),
- (335, "đ¨ī¸"),
- (338, "đ¨ī¸"),
- (350, "đ¨ī¸"),
- (353, "đ§ī¸"),
- (356, "đ§ī¸"),
- (359, "đ§ī¸"),
- (362, "đ¨ī¸"),
- (365, "đ¨ī¸"),
- (368, "đ¨ī¸"),
- (371, "đ¨ī¸"),
- (374, "đ¨ī¸"),
- (377, "đ¨ī¸"),
- (386, "đŠī¸"),
- (389, "đ¨ī¸"),
- (392, "đ¨ī¸"),
- (395, "đ¨ī¸"),
- (398, "đ¨ī¸"),
- (401, "đ¨ī¸"),
- (404, "đ¨ī¸"),
- (407, "đ¨ī¸"),
- (410, "đ¨ī¸"),
- (413, "đ¨ī¸"),
- (416, "đ¨ī¸"),
- (419, "đ¨ī¸"),
- (422, "đ¨ī¸"),
- (425, "đ¨ī¸"),
- (428, "đ¨ī¸"),
- (431, "đ¨ī¸"),
+ (113, "î"),
+ (116, "î"),
+ (119, "îŊ"),
+ (122, "î"),
+ (143, "î"),
+ (176, "î"),
+ (179, "î"),
+ (182, "îĒ"),
+ (185, "îĒ"),
+ (200, "î"),
+ (227, "î"),
+ (230, "î"),
+ (248, "î"),
+ (260, "î"),
+ (263, "î"),
+ (266, "î"),
+ (281, "îĒ"),
+ (284, "îĒ"),
+ (293, "î"),
+ (296, "î"),
+ (299, "î"),
+ (302, "î"),
+ (305, "î"),
+ (308, "î"),
+ (311, "îĒ"),
+ (314, "îĒ"),
+ (317, "îĒ"),
+ (320, "î"),
+ (323, "î"),
+ (326, "î"),
+ (329, "î"),
+ (332, "î"),
+ (335, "î"),
+ (338, "î"),
+ (350, "îĒ"),
+ (353, "î"),
+ (356, "î"),
+ (359, "î"),
+ (362, "î"),
+ (365, "î"),
+ (368, "î"),
+ (371, "î"),
+ (374, "î"),
+ (377, "îĒ"),
+ (386, "î"),
+ (389, "î"),
+ (392, "îĨ"),
+ (395, "î"),
];
pub const ICON_PLACEHOLDER: &str = "{ICON}";
diff --git a/src/main.rs b/src/main.rs
index 6ac4654..1b84207 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -175,20 +175,20 @@ fn main() {
if args.fahrenheit {
tooltip += &format!(
- "âŦī¸ {}° âŦī¸ {}° ",
+ "ķ°¸ {}° ķ°¸ {}° ",
day["maxtempF"].as_str().unwrap(),
day["mintempF"].as_str().unwrap(),
);
} else {
tooltip += &format!(
- "âŦī¸ {}° âŦī¸ {}° ",
+ "ķ°¸ {}° ķ°¸ {}° ",
day["maxtempC"].as_str().unwrap(),
day["mintempC"].as_str().unwrap(),
);
};
tooltip += &format!(
- "đ
{} đ {}\n",
+ "î {} î {}\n",
format_ampm_time(day, "sunrise", args.ampm),
format_ampm_time(day, "sunset", args.ampm),
);
@@ -207,7 +207,7 @@ fn main() {
}
let mut tooltip_line = format!(
- "{} {} {} {}",
+ "{} {}{} {}",
format_time(hour["time"].as_str().unwrap(), args.ampm),
WEATHER_CODES
.iter()