feat: add setting for static window title (#2183)

This commit is contained in:
Tarulia
2026-06-29 03:35:42 +02:00
committed by GitHub
parent 9806d2f553
commit c875146779
4 changed files with 45 additions and 1 deletions
@@ -63,6 +63,30 @@ export const WindowSettings = memo(() => {
isHidden: !isElectron(),
title: t('setting.windowBarStyle'),
},
{
control: (
<Switch
aria-label="Toggle track info in Window Bar"
defaultChecked={settings.windowBarTrackinfo}
onChange={(e) => {
if (!e) return;
setSettings({
window: {
windowBarTrackinfo: e.currentTarget.checked,
},
});
}}
/>
),
description: t('setting.windowBarTrackinfo', {
context: 'description',
}),
// tab is hidden entirely right now
// but if it was shown we would want to show this option
// as it also controls the tab title in web
isHidden: false,
title: t('setting.windowBarTrackinfo'),
},
{
control: (
<Switch