more tray icon replacements

This commit is contained in:
2026-05-27 22:51:03 +02:00
parent 90e0987f22
commit 1a72757e41
3 changed files with 10 additions and 1 deletions
+2
View File
@@ -13,3 +13,5 @@ uv.lock
.qtcreator/
dist/
**/target/
**/test-plugins/
**/Charts/
+1 -1
View File
@@ -27,7 +27,7 @@ JsonObject {
{
perc: 20,
name: qsTr("Low battery"),
message: qsTr("Battery at %1%").arg(Battery.currentPerc * 100),
message: qsTr("Battery is low"),
icon: "battery_android_frame_2"
},
]
+7
View File
@@ -29,6 +29,13 @@ Item {
return Quickshell.iconPath("telegram-mute-panel");
else if (icon === Quickshell.iconPath("com.ayugram.desktop-symbolic"))
return Quickshell.iconPath("telegram-panel");
} else if (app === "TelegramDesktop") {
if (icon === Quickshell.iconPath("org.telegram.desktop-symbolic"))
return Quickshell.iconPath("telegram-panel");
else if (icon === Quickshell.iconPath("org.telegram.desktop-attention-symbolic"))
return Quickshell.iconPath("telegram-attention-panel");
else if (icon === Quickshell.iconPath("org.telegram.desktop-mute-symbolic"))
return Quickshell.iconPath("telegram-mute-panel");
}
return root.item.icon;