diff --git a/dots/.config/quickshell/ii/modules/waffle/bar/tasks/TaskAppButton.qml b/dots/.config/quickshell/ii/modules/waffle/bar/tasks/TaskAppButton.qml index 3374e5512..d4d7c072b 100644 --- a/dots/.config/quickshell/ii/modules/waffle/bar/tasks/TaskAppButton.qml +++ b/dots/.config/quickshell/ii/modules/waffle/bar/tasks/TaskAppButton.qml @@ -16,12 +16,12 @@ AppButton { Timer { // Retry looking up the desktop entry if it failed (e.g. database not loaded yet) - property int retryCount: 0 - interval: 500 - running: !root.isSeparator && root.desktopEntry === null && retryCount < 30 + property int retryCount: 5 + interval: 1000 + running: !root.isSeparator && root.desktopEntry === null && retryCount > 0 repeat: true onTriggered: { - retryCount++; + retryCount--; root.desktopEntry = DesktopEntries.heuristicLookup(root.appEntry.appId); } }