diff --git a/dots/.config/quickshell/ii/modules/waffle/bar/tray/TrayOverflowMenu.qml b/dots/.config/quickshell/ii/modules/waffle/bar/tray/TrayOverflowMenu.qml index 98f449122..cc4561b1d 100644 --- a/dots/.config/quickshell/ii/modules/waffle/bar/tray/TrayOverflowMenu.qml +++ b/dots/.config/quickshell/ii/modules/waffle/bar/tray/TrayOverflowMenu.qml @@ -14,8 +14,6 @@ BarPopup { closeOnFocusLost: false onFocusCleared: { - print("uwu") - print(contentItem.children) const hasMenuOpen = contentItem.children.some(c => (c.menuOpen)); if (!hasMenuOpen) root.close(); else root.grabFocus(); @@ -24,7 +22,8 @@ BarPopup { contentItem: GridLayout { id: contentItem anchors.centerIn: parent - columns: Math.ceil(Math.sqrt(TrayService.unpinnedItems.length)) + rows: Math.floor(Math.sqrt(TrayService.unpinnedItems.length)) + columns: Math.ceil(TrayService.unpinnedItems.length / rows) columnSpacing: 0 rowSpacing: 0