mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-11 09:49:30 -05:00
icon guessing: add quickshell's heuristic lookup
This commit is contained in:
@@ -21,7 +21,7 @@ DockButton {
|
||||
property bool appIsActive: appToplevel.toplevels.find(t => (t.activated == true)) !== undefined
|
||||
|
||||
property bool isSeparator: appToplevel.appId === "SEPARATOR"
|
||||
property var desktopEntry: DesktopEntries.byId(appToplevel.appId)
|
||||
property var desktopEntry: DesktopEntries.heuristicLookup(appToplevel.appId)
|
||||
enabled: !isSeparator
|
||||
implicitWidth: isSeparator ? 1 : implicitHeight - topInset - bottomInset
|
||||
|
||||
|
||||
Reference in New Issue
Block a user