Compare commits
2 commits
fc8873b9b4
...
f8ea73daf0
Author | SHA1 | Date | |
---|---|---|---|
f8ea73daf0 | |||
70bfeb1e68 |
4 changed files with 14 additions and 1 deletions
13
home/ags/config/config.js
Normal file
13
home/ags/config/config.js
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
import Widget from 'resource:///com/github/Aylur/ags/widget.js';
|
||||||
|
|
||||||
|
const myLabel = Widget.Label({
|
||||||
|
label: 'some example content',
|
||||||
|
})
|
||||||
|
|
||||||
|
const myBar = Widget.Window({
|
||||||
|
name: 'bar',
|
||||||
|
anchor: ['top', 'left', 'right'],
|
||||||
|
child: myLabel,
|
||||||
|
})
|
||||||
|
|
||||||
|
export default { windows: [myBar] }
|
|
@ -1,6 +1,6 @@
|
||||||
_: {
|
_: {
|
||||||
programs.ags = {
|
programs.ags = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configDir = ./js;
|
configDir = ./config;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue