adding ags
This commit is contained in:
parent
58a920fa73
commit
984191eebb
4 changed files with 61 additions and 1 deletions
|
@ -0,0 +1,20 @@
|
|||
function Bar(monitor = 0) {
|
||||
const myLabel = Widget.Label({
|
||||
label: 'some example content',
|
||||
})
|
||||
|
||||
return Widget.Window({
|
||||
monitor,
|
||||
name: `bar${monitor}`, // this name has to be unique
|
||||
anchor: ['top', 'left', 'right'],
|
||||
child: myLabel,
|
||||
})
|
||||
}
|
||||
|
||||
App.config({
|
||||
windows: [
|
||||
Bar(0), // can be instantiated for each monitor
|
||||
Bar(1),
|
||||
Bar(2),
|
||||
],
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue