mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-25 12:52:09 +00:00
use substitute
This commit is contained in:
parent
d7ab69211a
commit
2e60a44e70
1 changed files with 2 additions and 2 deletions
|
|
@ -158,7 +158,7 @@ const Taskbar = (monitor) => Widget.Box({
|
|||
path = searchIcons(appClass.toLowerCase(), icon_files)
|
||||
cachePath[appClassLower] = path
|
||||
}
|
||||
if (path === '') { path = appClass }
|
||||
if (path === '') { path = substitute(appClass) }
|
||||
const newButton = AppButton({
|
||||
icon: path,
|
||||
tooltipText: `${client.title} (${appClass})`,
|
||||
|
|
@ -187,7 +187,7 @@ const Taskbar = (monitor) => Widget.Box({
|
|||
path = searchIcons(appClassLower, icon_files)
|
||||
cachePath[appClassLower] = path
|
||||
}
|
||||
if (path === '') { path = substitute(appClassLower) }
|
||||
if (path === '') { path = substitute(appClass) }
|
||||
const newButton = AppButton({
|
||||
icon: path,
|
||||
tooltipText: `${newClient.title} (${appClass})`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue