diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-05 16:08:27 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-05 16:08:27 +1000 |
| commit | a7e88854bb72dcde79edb618e6f7e9c7d891e8eb (patch) | |
| tree | 128804ccf1c17f4f13365bd9fe1a2290ccf3c671 /utils/Icons.qml | |
| parent | internal: use plaintext format by default (diff) | |
| download | caelestia-shell-a7e88854bb72dcde79edb618e6f7e9c7d891e8eb.tar.gz caelestia-shell-a7e88854bb72dcde79edb618e6f7e9c7d891e8eb.tar.bz2 caelestia-shell-a7e88854bb72dcde79edb618e6f7e9c7d891e8eb.zip | |
feat: dashboard media player selector
Also raise and quit buttons
Diffstat (limited to 'utils/Icons.qml')
| -rw-r--r-- | utils/Icons.qml | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |