import QtQuick import Quickshell import Quickshell.Hyprland import "../services" Scope { TrayMenu { menuHandle: TrayService.currentItem ? TrayService.currentItem.menu : null anchorItem: TrayService.anchorItem opened: TrayService.opened } HyprlandFocusGrab { // Hover-opened menus never take keyboard focus from the focused app, and // without a grab the bar keeps receiving hover for instant handover. windows: TrayService.windows active: TrayService.grabbing onCleared: TrayService.close() } }