From bcaaad1b7cc14d293c8a4c4fdc316eee1a1703b8 Mon Sep 17 00:00:00 2001 From: Hannes Date: Wed, 25 Feb 2026 21:10:26 +0100 Subject: [PATCH] Repair Tray --- modules/bar/scripts/Apps.sh | 3 ++- modules/bar/widgets/Tray.qml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/bar/scripts/Apps.sh b/modules/bar/scripts/Apps.sh index 5490365..929d896 100755 --- a/modules/bar/scripts/Apps.sh +++ b/modules/bar/scripts/Apps.sh @@ -17,7 +17,7 @@ declare -A MAP=( ["midori"]="" ["brave-browser"]="" ["chromium"]="" - #E-Mail + # E-Mail ["Mozilla Thunderbird"]="󰇮" # Terminals ["kitty"]="" @@ -49,6 +49,7 @@ declare -A MAP=( ["steam"]="" ["org.prismlauncher.PrismLauncher"]="󰍳" ["Minecraft* 1.21.11"]="󰍳" + ["game"]="" # Digital Arts ["Blender"]="" ["Krita"]="" diff --git a/modules/bar/widgets/Tray.qml b/modules/bar/widgets/Tray.qml index 7bfaf73..afc98a3 100644 --- a/modules/bar/widgets/Tray.qml +++ b/modules/bar/widgets/Tray.qml @@ -94,7 +94,7 @@ Row { // Workspace Row let src = modelData.icon; // Check if there is a "?" in the URL (custom path) - if (src.includes('?')) { + if (src.includes('goxlr')) { let pathMatch = src.match(/path=([^&]+)/); if (pathMatch && pathMatch[1]) { @@ -103,6 +103,7 @@ Row { // Workspace Row let segments = folderPath.split('/'); let fileName = segments[segments.length - 1] + "-icon.png"; console.log("########## filename: " + fileName) + console.log("########## icon: " + modelData.icon) src = "file://" + pathMatch[1] + "/" + fileName; } }