change eww to ags

This commit is contained in:
JuliaLange 2024-02-16 21:32:55 -08:00
parent 7b32e3330c
commit 48c4277b9d
7 changed files with 144 additions and 16 deletions

View file

@ -0,0 +1,7 @@
import { Switch } from "./modules/workspace-switch.js";
export default {
windows: [
Switch(1)
]
}

View file

@ -0,0 +1,22 @@
export const Clock = (monitor = 0) => {
return Widget.Window({
monitor,
name: `switch${monitor}`,
anchor: ['top', 'left', 'right'],
margins: [864, 1030],
css: 'background: transparent;',
child: container,
});
};
const container = Widget.Box({
css: `
min-height: 110px;
min-width: 500px;
border: 4px solid #f4d80a;
border-radius: 50px;
margin: 3px;
box-shadow: 0 0 0 3px white;
`,
});

View file

@ -0,0 +1,22 @@
export const Switch = (monitor = 0) => {
return Widget.Window({
monitor,
name: `switch${monitor}`,
anchor: ['top', 'left', 'right'],
margins: [864, 1030],
css: 'background: transparent;',
child: container,
});
};
const container = Widget.Box({
css: `
min-height: 110px;
min-width: 500px;
border: 4px solid #f4d80a;
border-radius: 50px;
margin: 3px;
box-shadow: 0 0 0 3px white;
`,
});