From a7e88854bb72dcde79edb618e6f7e9c7d891e8eb Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 5 Jun 2025 16:08:27 +1000 Subject: feat: dashboard media player selector Also raise and quit buttons --- utils/Icons.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/Icons.qml b/utils/Icons.qml index ca3917c..41ecbfa 100644 --- a/utils/Icons.qml +++ b/utils/Icons.qml @@ -156,8 +156,8 @@ Singleton { return DesktopEntries.applications.values.find(a => a.id.toLowerCase() === name) ?? null; } - function getAppIcon(name: string): string { - return Quickshell.iconPath(getDesktopEntry(name)?.icon, "image-missing"); + function getAppIcon(name: string, fallback: string): string { + return Quickshell.iconPath(getDesktopEntry(name)?.icon, fallback); } function getAppCategoryIcon(name: string, fallback: string): string { -- cgit v1.2.3-freya