Skip to content

Commit 968d6d6

Browse files
committed
feat: allow replacing icons of background apps
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5703
1 parent e91ecf5 commit 968d6d6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

package/contents/ui/code/utils.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,12 @@ function getWidgetProperties(
278278
}
279279
}
280280
break;
281+
} else if (model.itemType === "BackgroundApp") {
282+
name = model.itemId;
283+
title = model.name || model.message;
284+
needsAttention = pcTypes.NeedsAttentionStatus === model.status;
285+
iconName = model.icon;
286+
break;
281287
} else if (model.itemType === "Plasmoid") {
282288
const applet = model.applet;
283289
name = applet.plasmoid.pluginName ?? "";

0 commit comments

Comments
 (0)