App menu: one home in the titlebar, the logo

The top-right ⋮ and the logo opened the same menu: one of them was redundant.
The logo stays as the only titlebar trigger (the app's own mark, where an app
menu lives); the right side is back to workspaces, accounts and the window
buttons. Alt+F, F10, the palette and the account menu's last row open the
menu under the logo. Apps that want a separate button keep <AppMenu/>'s
default trigger.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
CRTkafa 2026-10-01 04:26:40 +07:00
parent 48ff509b15
commit 311f5d9e20
2 changed files with 12 additions and 7 deletions

View file

@ -34,7 +34,8 @@ export function Titlebar({ maximized }: { maximized: boolean }) {
<TitlebarExtras/>
<AccountSwitcher/>
<UpdateChip/>
<AppMenu/>
{/* One home for the app menu: the logo. Alt+F, F10, the palette and the account menu's last row open it there. */}
<AppMenu trigger={false}/>
{os !== 'macos' && <WindowControls maximized={maximized}/>}
</header>;
}