change eww to ags
This commit is contained in:
parent
7b32e3330c
commit
48c4277b9d
7 changed files with 144 additions and 16 deletions
22
programs/ags/config/modules/workspace-switch.js
Normal file
22
programs/ags/config/modules/workspace-switch.js
Normal 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;
|
||||
`,
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue