From e399a9d7a34a13d2a783fc4e591cadabdd20423e Mon Sep 17 00:00:00 2001 From: Robin Seger Date: Mon, 13 Oct 2025 13:52:14 +0200 Subject: bar/workspaces: special ws icon config (#785) * workspaces: icons config * add README json example --- utils/Icons.qml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'utils/Icons.qml') diff --git a/utils/Icons.qml b/utils/Icons.qml index 45c1537..e946c4f 100644 --- a/utils/Icons.qml +++ b/utils/Icons.qml @@ -194,6 +194,13 @@ Singleton { function getSpecialWsIcon(name: string): string { name = name.toLowerCase().slice("special:".length); + + for (const iconConfig of Config.bar.workspaces.specialWorkspaceIcons) { + if (iconConfig.name === name) { + return iconConfig.icon; + } + } + if (name === "special") return "star"; if (name === "communication") -- cgit v1.2.3-freya