mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
overview: make app icons work more properly
This commit is contained in:
@@ -74,11 +74,15 @@ export default () => {
|
||||
|
||||
if (c.length == 0) c = initialClass;
|
||||
const iconName = substitute(c);
|
||||
const appIcon = iconExists(iconName) ? Widget.Icon({
|
||||
// const appIcon = iconExists(iconName) ? Widget.Icon({
|
||||
// icon: iconName,
|
||||
// size: Math.min(w, h) * userOptions.overview.scale / 2.5,
|
||||
// }) : MaterialIcon('terminal', 'gigantic', {
|
||||
// css: `font-size: ${Math.min(w, h) * userOptions.overview.scale / 2.5}px`,
|
||||
// });
|
||||
const appIcon = Widget.Icon({
|
||||
icon: iconName,
|
||||
size: Math.min(w, h) * userOptions.overview.scale / 2.5,
|
||||
}) : MaterialIcon('terminal', 'gigantic', {
|
||||
css: `font-size: ${Math.min(w, h) * userOptions.overview.scale / 2.5}px`,
|
||||
});
|
||||
return Widget.Button({
|
||||
attribute: {
|
||||
|
||||
Reference in New Issue
Block a user