feat: update files

This commit is contained in:
2023-12-30 20:16:14 +01:00
parent 4e301a71c7
commit d2f9104fe4
11 changed files with 7813 additions and 121 deletions

View File

@@ -1,40 +1,43 @@
import { Widget } from '../imports.js';
import { Widget } from "../imports.js";
import { RoundedCorner } from "../modules/lib/roundedcorner.js";
export const CornerTopleft = monitor => Widget.Window({
name: 'cornertl',
layer: 'top',
export const CornerTopleft = (monitor) =>
Widget.Window({
name: "cornertl",
layer: "top",
monitor,
anchor: ['top', 'left'],
anchor: ["top", "left"],
exclusive: false,
visible: true,
child: RoundedCorner('topleft', { className: monitor === 1 ? 'corner' : 'corner-black', }),
});
export const CornerTopright = monitor => Widget.Window({
name: 'cornertr',
layer: 'top',
child: RoundedCorner("topleft", { className: "corner-black" }),
});
export const CornerTopright = (monitor) =>
Widget.Window({
name: "cornertr",
layer: "top",
monitor,
anchor: ['top', 'right'],
anchor: ["top", "right"],
exclusive: false,
visible: true,
child: RoundedCorner('topright', { className: monitor === 1 ? 'corner' : 'corner-black', }),
});
export const CornerBottomleft = monitor => Widget.Window({
name: 'cornerbl',
layer: 'top',
child: RoundedCorner("topright", { className: "corner-black" }),
});
export const CornerBottomleft = (monitor) =>
Widget.Window({
name: "cornerbl",
layer: "top",
monitor,
anchor: ['bottom', 'left'],
anchor: ["bottom", "left"],
exclusive: false,
visible: true,
child: RoundedCorner('bottomleft', { className: 'corner-black', }),
});
export const CornerBottomright = monitor => Widget.Window({
name: 'cornerbr',
layer: 'top',
child: RoundedCorner("bottomleft", { className: "corner-black" }),
});
export const CornerBottomright = (monitor) =>
Widget.Window({
name: "cornerbr",
layer: "top",
monitor,
anchor: ['bottom', 'right'],
anchor: ["bottom", "right"],
exclusive: false,
visible: true,
child: RoundedCorner('bottomright', { className: 'corner-black', }),
});
child: RoundedCorner("bottomright", { className: "corner-black" }),
});