Closed favefan closed 5 months ago
this is because the icon pack you use doesn't support the app, or the icon class guessing fails. It's kind of impossible to have this work 100% correctly.. But you can add something like this to the userConfigOptions
object in ~/.config/ags/user_options.js
:
'icons': {
substitutions: {
'code': "visual-studio-code",
'preferences-desktop-theme': "org.gnome.tweaks",
}
},
this way code
will have vscode icon and whatever desktop theme preference app you're using will have the icon for gnome tweaks, assuming these substitutions have the correct names (idk about your icon theme)
@end-4 I see, I get it, thanks for the answer!
The issue
From the GUI it doesn't look like there's anything wrong or I'm not aware of any elements that aren't showing up. But when I look at
journalctl -b
, certain errors that may be related to not finding the icon show up. Thanks.Click to expand
```plain ags[8027]: Error: can't assign "code" as icon, it is not a file nor a named icon set icon@resource:///com/github/Aylur/ags/widgets/icon.js:40:30 _handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13 Icon@resource:///com/github/Aylur/ags/widgets/icon.js:23:14 Icon@resource:///com/github/Aylur/ags/widget.js:26:32 Window@file:///home/khun/.config/ags/modules/overview/overview_hyprland.js:68:32 default/Workspace/widget.set@file:///home/khun/.config/ags/modules/overview/overview_hyprland.js:292:37 default/OverviewRow/updateWorkspace/<@file:///home/khun/.config/ags/modules/overview/overview_hyprland.js:371:66 _init/GLib.MainLoop.prototype.runAsync/<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34 ags[8027]: Error: can't assign "preferences-desktop-theme" as icon, it is not a file nor a named icon set icon@resource:///com/github/Aylur/ags/widgets/icon.js:40:30 _handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13 Icon@resource:///com/github/Aylur/ags/widgets/icon.js:23:14 Icon@resource:///com/github/Aylur/ags/widget.js:26:32 DesktopEntryButton@file:///home/khun/.config/ags/modules/overview/searchbuttons.js:108:43 SearchAndWindows/onChange/<@file:///home/khun/.config/ags/modules/overview/windowcontent.js:188:32 onChange@file:///home/khun/.config/ags/modules/overview/windowcontent.js:186:31 Entry/<@resource:///com/github/Aylur/ags/widgets/entry.js:15:49 _init/GLib.MainLoop.prototype.runAsync/<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34 ```