21 lines
415 B
JavaScript
21 lines
415 B
JavaScript
const date = Variable('', {
|
|
poll: [1000, 'date'],
|
|
})
|
|
|
|
const Bar = (monitor = 0) => Widget.Window({
|
|
monitor,
|
|
name: 'bar${monitor}',
|
|
anchor: ['top', 'left', 'right'],
|
|
child: Widget.Label({ label: date.bind() }),
|
|
})
|
|
|
|
App.config({
|
|
style: "./style.css",
|
|
// icons: "./assets",
|
|
windows: [
|
|
Bar()
|
|
]
|
|
// gtkTheme: "Adwaita-dark",
|
|
// cursorTheme: "Qogir",
|
|
// iconTheme: "MoreWaita",[]
|
|
})
|