overview: re enable window title display

This commit is contained in:
end-4
2024-05-22 17:53:39 +07:00
parent 2b11619499
commit b1a11c5003
@@ -133,25 +133,25 @@ export default (overviewMonitor = 0) => {
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_right', transition: 'slide_right',
// revealChild: revealInfoCondition, revealChild: revealInfoCondition,
// child: Widget.Revealer({ child: Widget.Revealer({
// transition: 'slide_down', transition: 'slide_down',
// revealChild: revealInfoCondition, revealChild: revealInfoCondition,
// child: Widget.Label({ child: Widget.Label({
// maxWidthChars: 10, // Doesn't matter what number maxWidthChars: 10, // Doesn't matter what number
// truncate: 'end', truncate: 'end',
// className: `margin-top-5 ${xwayland ? 'txt txt-italic' : 'txt'}`, className: `margin-top-5 ${xwayland ? 'txt txt-italic' : 'txt'}`,
// css: ` css: `
// font-size: ${Math.min(monitors[monitor].width, monitors[monitor].height) * userOptions.overview.scale / 14.6}px; font-size: ${Math.min(monitors[monitor].width, monitors[monitor].height) * userOptions.overview.scale / 14.6}px;
// margin: 0px ${Math.min(monitors[monitor].width, monitors[monitor].height) * userOptions.overview.scale / 10}px; margin: 0px ${Math.min(monitors[monitor].width, monitors[monitor].height) * userOptions.overview.scale / 10}px;
// `, `,
// // If the title is too short, include the class // If the title is too short, include the class
// label: (title.length <= 1 ? `${c}: ${title}` : title), label: (title.length <= 1 ? `${c}: ${title}` : title),
// }) })
// }) })
// }) })
] ]
}) })
}), }),