forked from Shinonome/dots-hyprland
overview: re add window title
This commit is contained in:
@@ -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),
|
||||||
// })
|
})
|
||||||
|
})
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user