From 7da07a5e1ff80d603163e660cfd6a4057e54f864 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 4 Jan 2025 19:47:12 +0100 Subject: ... --- overlays/wttrbar/icons.patch | 154 ------------------------------------------- 1 file changed, 154 deletions(-) delete mode 100644 overlays/wttrbar/icons.patch (limited to 'overlays/wttrbar/icons.patch') diff --git a/overlays/wttrbar/icons.patch b/overlays/wttrbar/icons.patch deleted file mode 100644 index e7e721c8..00000000 --- a/overlays/wttrbar/icons.patch +++ /dev/null @@ -1,154 +0,0 @@ -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() -- cgit v1.2.3