adding ags

This commit is contained in:
Chris Cochrun 2024-06-14 16:29:18 -05:00
parent 58a920fa73
commit 984191eebb
4 changed files with 61 additions and 1 deletions

View file

@ -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),
],
})