summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorRobin Seger <pixelkhaos@gmail.com>2025-10-13 13:52:14 +0200
committerGitHub <noreply@github.com>2025-10-13 22:52:14 +1100
commite399a9d7a34a13d2a783fc4e591cadabdd20423e (patch)
tree2de9081b068eeb09561fdb2f41c3eeb62fa61383 /utils
parentfeat: configurable max volume (#723) (diff)
downloadcaelestia-shell-e399a9d7a34a13d2a783fc4e591cadabdd20423e.tar.gz
caelestia-shell-e399a9d7a34a13d2a783fc4e591cadabdd20423e.tar.bz2
caelestia-shell-e399a9d7a34a13d2a783fc4e591cadabdd20423e.zip
bar/workspaces: special ws icon config (#785)
* workspaces: icons config * add README json example
Diffstat (limited to 'utils')
-rw-r--r--utils/Icons.qml7
1 files changed, 7 insertions, 0 deletions
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")