overview: re add window title

This commit is contained in:
end-4
2024-02-21 22:54:01 +07:00
parent 4216067726
commit 176fd8d4a1
@@ -159,20 +159,21 @@ export default () => {
children: [ children: [
appIcon, appIcon,
// TODO: Add xwayland tag instead of just having italics // TODO: Add xwayland tag instead of just having italics
// Widget.Revealer({ Widget.Revealer({
// transition: 'slide_down', transition: 'slide_down',
// revealChild: revealInfoCondition, revealChild: revealInfoCondition,
// child: Widget.Label({ child: Widget.Label({
// truncate: 'end', maxWidthChars: 10, // Doesn't matter what number
// className: `${xwayland ? 'txt txt-italic' : 'txt'}`, truncate: 'end',
// css: ` className: `${xwayland ? 'txt txt-italic' : 'txt'}`,
// font-size: ${Math.min(SCREEN_WIDTH, SCREEN_HEIGHT) * OVERVIEW_SCALE / 14.6}px; css: `
// margin: 0px ${Math.min(SCREEN_WIDTH, SCREEN_HEIGHT) * OVERVIEW_SCALE / 10}px; font-size: ${Math.min(SCREEN_WIDTH, SCREEN_HEIGHT) * OVERVIEW_SCALE / 14.6}px;
// `, margin: 0px ${Math.min(SCREEN_WIDTH, SCREEN_HEIGHT) * OVERVIEW_SCALE / 10}px;
// // If the title is too short, include the class `,
// label: (title.length <= 1 ? `${c}: ${title}` : title), // If the title is too short, include the class
// }) label: (title.length <= 1 ? `${c}: ${title}` : title),
// }) })
})
] ]
}) })
}), }),