diff --git a/.config/ags/modules/dock/dock.js b/.config/ags/modules/dock/dock.js index 8c18c7536..a6c2fc6c7 100644 --- a/.config/ags/modules/dock/dock.js +++ b/.config/ags/modules/dock/dock.js @@ -158,6 +158,7 @@ const Taskbar = (monitor) => Widget.Box({ path = searchIcons(appClass.toLowerCase(), icon_files) cachePath[appClassLower] = path } + if (path === '') { path = appClass } const newButton = AppButton({ icon: path, tooltipText: `${client.title} (${appClass})`, @@ -186,6 +187,7 @@ const Taskbar = (monitor) => Widget.Box({ path = searchIcons(appClassLower, icon_files) cachePath[appClassLower] = path } + if (path === '') { path = substitute(appClassLower) } const newButton = AppButton({ icon: path, tooltipText: `${newClient.title} (${appClass})`,