Possible fix for QS crash on single monitor wake

This commit is contained in:
Ly-sec 2025-08-21 16:29:42 +02:00
parent aed728ec9c
commit 88447fbcef
7 changed files with 70 additions and 25 deletions

View file

@ -159,8 +159,7 @@ Loader {
function getAppIcon(toplevel: Toplevel): string {
if (!toplevel)
return ""
let icon = Quickshell.iconPath(DesktopEntries.byId(toplevel.appId?.toLowerCase()).icon)
return icon || Quickshell.iconPath("application-x-executable", true)
return Icons.iconForAppId(toplevel.appId?.toLowerCase())
}
Row {