From ed118f4e7ac067a53c100692b1144df2e223df58 Mon Sep 17 00:00:00 2001 From: bbedward Date: Wed, 8 Oct 2025 12:54:06 -0400 Subject: [PATCH] Dropbox icon workaround --- Modules/DankBar/Widgets/SystemTrayBar.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Modules/DankBar/Widgets/SystemTrayBar.qml b/Modules/DankBar/Widgets/SystemTrayBar.qml index 904699da..ff288268 100644 --- a/Modules/DankBar/Widgets/SystemTrayBar.qml +++ b/Modules/DankBar/Widgets/SystemTrayBar.qml @@ -66,7 +66,10 @@ Rectangle { const name = split[0]; const path = split[1]; - const fileName = name.substring(name.lastIndexOf("/") + 1); + let fileName = name.substring(name.lastIndexOf("/") + 1); + if (fileName.startsWith("dropboxstatus")) { + fileName = `hicolor/16x16/status/${fileName}`; + } return `file://${path}/${fileName}`; } if (icon.startsWith("/") && !icon.startsWith("file://")) {