organize files

This commit is contained in:
Zacharias-Brohn
2026-02-23 16:22:28 +01:00
parent 2c56913367
commit cdefe3706f
40 changed files with 1783 additions and 103 deletions
+17
View File
@@ -0,0 +1,17 @@
pragma Singleton
import Quickshell
Singleton {
id: root
function getTrayIcon(id: string, icon: string): string {
if (icon.includes("?path=")) {
const [name, path] = icon.split("?path=");
icon = Qt.resolvedUrl(`${path}/${name.slice(name.lastIndexOf("/") + 1)}`);
} else if (icon.includes("qspixmap") && id === "chrome_status_icon_1") {
icon = icon.replace("qspixmap", "icon/discord-tray");
}
return icon;
}
}