From 9a22de4954a55252c267b74de82544bd69e5a241 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 13 Jan 2025 14:04:19 +1100 Subject: notifpopups: fix app icon For some reason firefox gives its desktop entry with as Firefox while the icon is lowercase, so use subs Also use icon lookups to check so no broken icons --- utils/icons.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils') diff --git a/utils/icons.ts b/utils/icons.ts index 4b2d038..dff47f3 100644 --- a/utils/icons.ts +++ b/utils/icons.ts @@ -30,6 +30,10 @@ export const osIcons: Record = { ubuntu: 0xf31b, }; +export const desktopEntrySubs: Record = { + Firefox: "firefox", +}; + const categoryIcons: Record = { WebBrowser: "web", Printing: "print", -- cgit v1.2.3-freya