summaryrefslogtreecommitdiff
path: root/utils/icons.ts
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-13 14:04:19 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-13 14:04:19 +1100
commit9a22de4954a55252c267b74de82544bd69e5a241 (patch)
tree4623142d7cdf0da5596b486eb6caebc68f8d51c8 /utils/icons.ts
parentadd other cattpuccin flavours (diff)
downloadcaelestia-shell-9a22de4954a55252c267b74de82544bd69e5a241.tar.gz
caelestia-shell-9a22de4954a55252c267b74de82544bd69e5a241.tar.bz2
caelestia-shell-9a22de4954a55252c267b74de82544bd69e5a241.zip
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
Diffstat (limited to 'utils/icons.ts')
-rw-r--r--utils/icons.ts4
1 files changed, 4 insertions, 0 deletions
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<string, number> = {
ubuntu: 0xf31b,
};
+export const desktopEntrySubs: Record<string, string> = {
+ Firefox: "firefox",
+};
+
const categoryIcons: Record<string, string> = {
WebBrowser: "web",
Printing: "print",