chore: update flake.lock

This commit is contained in:
matt1432 2023-11-06 18:37:23 -05:00
parent 8e3335d9be
commit 6a40c0141d
24 changed files with 144 additions and 139 deletions

View file

@ -4,11 +4,11 @@ import { exec } from 'resource:///com/github/Aylur/ags/utils.js';
import Setup from './js/setup.js'; import Setup from './js/setup.js';
import Powermenu from './js/powermenu.js'; import Powermenu from './js/powermenu.js';
import * as Bar from './js/bar/main.js'; import * as Bar from './js/bar/main.js';
import NotifCenter from './js/notifications/center.js'; //import NotifCenter from './js/notifications/center.js';
import NotifPopups from './js/notifications/popup.js'; //import NotifPopups from './js/notifications/popup.js';
import Calendar from './js/date.js'; import Calendar from './js/date.js';
import QuickSettings from './js/quick-settings/main.js'; import QuickSettings from './js/quick-settings/main.js';
import Overview from './js/overview/main.js'; //import Overview from './js/overview/main.js';
import AppLauncher from './js/applauncher/main.js'; import AppLauncher from './js/applauncher/main.js';
import * as Corners from './js/screen-corners.js'; import * as Corners from './js/screen-corners.js';
@ -18,6 +18,7 @@ exec(`sassc ${scss} ${css}`);
Setup(); Setup();
// FIXME: notification and overview stuff are bugged as of this ags commit
export default { export default {
style: css, style: css,
notificationPopupTimeout: 5000, notificationPopupTimeout: 5000,
@ -33,8 +34,8 @@ export default {
windows: [ windows: [
AppLauncher(), AppLauncher(),
Calendar(), Calendar(),
NotifCenter(), //NotifCenter(),
Overview(), //Overview(),
Powermenu(), Powermenu(),
QuickSettings(), QuickSettings(),
@ -42,6 +43,6 @@ export default {
Bar.BgGradient(), Bar.BgGradient(),
Corners.Bottomleft(), Corners.Bottomleft(),
Corners.Bottomright(), Corners.Bottomright(),
NotifPopups(), //NotifPopups(),
], ],
}; };

View file

@ -40,7 +40,7 @@ const AppItem = (app, window) => {
className: 'title', className: 'title',
label: app.name, label: app.name,
xalign: 0, xalign: 0,
valign: 'center', vpack: 'center',
ellipsize: 3, ellipsize: 3,
}), }),
Label({ Label({
@ -49,7 +49,7 @@ const AppItem = (app, window) => {
wrap: true, wrap: true,
xalign: 0, xalign: 0,
justification: 'left', justification: 'left',
valign: 'center', vpack: 'center',
}), }),
], ],
}), }),

View file

@ -1,5 +1,6 @@
import Audio from 'resource:///com/github/Aylur/ags/service/audio.js'; import Audio from 'resource:///com/github/Aylur/ags/service/audio.js';
import { Label, Box, Icon } from 'resource:///com/github/Aylur/ags/widget.js'; import { Label, Box, Icon } from 'resource:///com/github/Aylur/ags/widget.js';
import { execAsync } from 'resource:///com/github/Aylur/ags/utils.js';
import Separator from '../misc/separator.js'; import Separator from '../misc/separator.js';
import EventBox from '../misc/cursorbox.js'; import EventBox from '../misc/cursorbox.js';
@ -43,7 +44,7 @@ const SpeakerPercentLabel = props => Label({
}); });
export default () => EventBox({ export default () => EventBox({
onPrimaryClickRelease: 'pavucontrol', onPrimaryClickRelease: () => execAsync(['pavucontrol']).catch(print),
className: 'toggle-off', className: 'toggle-off',
child: Box({ child: Box({
className: 'audio', className: 'audio',

View file

@ -23,7 +23,7 @@ export default () => Overlay({
}), }),
overlays: [ overlays: [
Box({ Box({
style: 'color: #CBA6F7;', css: 'color: #CBA6F7;',
children: [ children: [
Separator(25), Separator(25),
Heart(), Heart(),

View file

@ -3,7 +3,7 @@ import { Label } from 'resource:///com/github/Aylur/ags/widget.js';
export default () => Label({ export default () => Label({
style: 'color: #CBA6F7; font-size: 18px', css: 'color: #CBA6F7; font-size: 18px',
truncate: 'end', truncate: 'end',
binds: [['label', Hyprland.active.client, 'title']], binds: [['label', Hyprland.active.client, 'title']],
}); });

View file

@ -27,7 +27,7 @@ export default props => Overlay({
], ],
child: Box({ child: Box({
style: 'min-height: 1px', css: 'min-height: 1px',
hexpand: true, hexpand: true,
vertical: true, vertical: true,
children: [ children: [
@ -38,7 +38,7 @@ export default props => Overlay({
properties: [['timeouts', []]], properties: [['timeouts', []]],
connections: [[Revealed, self => { connections: [[Revealed, self => {
const Bar = App.getWindow('bar'); const Bar = App.getWindow('bar');
Bar.setStyle(Revealed.value ? '' : wStyle); Bar.setCss(Revealed.value ? '' : wStyle);
const BgGradient = App.getWindow('bg-gradient'); const BgGradient = App.getWindow('bg-gradient');
BgGradient.visible = !Revealed.value; BgGradient.visible = !Revealed.value;
@ -90,7 +90,7 @@ export default props => Overlay({
self.get_parent().revealChild = false; self.get_parent().revealChild = false;
}, },
child: Box({ child: Box({
style: 'min-height: 50px;', css: 'min-height: 50px;',
}), }),
}), }),
}), }),

View file

@ -5,7 +5,7 @@ import EventBox from '../misc/cursorbox.js';
export default () => EventBox({ export default () => EventBox({
halign: 'center', hpack: 'center',
onPrimaryClickRelease: () => { onPrimaryClickRelease: () => {
execAsync(['bash', '-c', '$AGS_PATH/heart.sh toggle']).catch(print); execAsync(['bash', '-c', '$AGS_PATH/heart.sh toggle']).catch(print);

View file

@ -9,7 +9,7 @@ export default () => Box({
children: [ children: [
Icon({ Icon({
icon: 'input-keyboard-symbolic', icon: 'input-keyboard-symbolic',
style: 'margin-right: 4px;', css: 'margin-right: 4px;',
}), }),
Label({ Label({
connections: [[Hyprland, (self, _n, layout) => { connections: [[Hyprland, (self, _n, layout) => {

View file

@ -20,7 +20,7 @@ export const BgGradient = () => Window({
name: 'bg-gradient', name: 'bg-gradient',
layer: 'background', layer: 'background',
anchor: ['top', 'bottom', 'left', 'right'], anchor: ['top', 'bottom', 'left', 'right'],
style: ` css: `
background-image: -gtk-gradient (linear, background-image: -gtk-gradient (linear,
left top, left bottom, left top, left bottom,
from(rgba(0, 0, 0, 0.5)), from(rgba(0, 0, 0, 0.5)),
@ -39,7 +39,7 @@ export const Bar = () => Window({
vertical: false, vertical: false,
startWidget: Box({ startWidget: Box({
halign: 'start', hpack: 'start',
children: [ children: [
OskToggle(), OskToggle(),
@ -76,7 +76,7 @@ export const Bar = () => Window({
}), }),
endWidget: Box({ endWidget: Box({
halign: 'end', hpack: 'end',
children: [ children: [
Battery(), Battery(),

View file

@ -17,7 +17,7 @@ const Workspace = ({ i } = {}) =>
.catch(print); .catch(print);
}, },
child: Box({ child: Box({
valign: 'center', vpack: 'center',
className: 'button', className: 'button',
setup: self => { setup: self => {
self.update = addr => { self.update = addr => {
@ -53,21 +53,24 @@ export default () => {
if (currentIndex < 0) if (currentIndex < 0)
return; return;
highlight.setStyle(`margin-left: ${16 + currentIndex * 30}px`); highlight.setCss(`margin-left: ${16 + currentIndex * 30}px`);
}; };
const highlight = Box({ const highlight = Box({
valign: 'center', vpack: 'center',
halign: 'start', hpack: 'start',
className: 'button active', className: 'button active',
connections: [[Hyprland.active.workspace, updateHighlight]], connections: [[Hyprland.active.workspace, updateHighlight]],
}); });
const widget = Overlay({ const widget = Overlay({
setup: self => { setup: self => {
// FIXME: see if we can get rid of this timeout
timeout(1, () => {
self.set_overlay_pass_through( self.set_overlay_pass_through(
self.get_children()[1], self.get_children()[1],
true, true,
); );
});
}, },
overlays: [highlight], overlays: [highlight],
child: EventBox({ child: EventBox({

View file

@ -1,6 +1,5 @@
import { Widget, Box, Label } from 'resource:///com/github/Aylur/ags/widget.js'; import { Box, Calendar, Label } from 'resource:///com/github/Aylur/ags/widget.js';
import Gtk from 'gi://Gtk';
import GLib from 'gi://GLib'; import GLib from 'gi://GLib';
const { DateTime } = GLib; const { DateTime } = GLib;
@ -19,8 +18,8 @@ const Time = () => Box({
Box({ Box({
className: 'time-container', className: 'time-container',
halign: 'center', hpack: 'center',
valign: 'center', vpack: 'center',
children: [ children: [
Label({ Label({
@ -46,9 +45,9 @@ const Time = () => Box({
Box({ Box({
className: 'date-container', className: 'date-container',
halign: 'center', hpack: 'center',
child: Label({ child: Label({
style: 'font-size: 20px', css: 'font-size: 20px',
label: 'complete date', label: 'complete date',
connections: [[1000, self => { connections: [[1000, self => {
var time = DateTime.new_now_local(); var time = DateTime.new_now_local();
@ -64,8 +63,7 @@ const Time = () => Box({
const CalendarWidget = () => Box({ const CalendarWidget = () => Box({
className: 'cal-box', className: 'cal-box',
child: Widget({ child: Calendar({
type: Gtk.Calendar,
showDayNames: true, showDayNames: true,
showHeading: true, showHeading: true,
className: 'cal', className: 'cal',
@ -74,7 +72,7 @@ const CalendarWidget = () => Box({
export default () => PopupWindow({ export default () => PopupWindow({
anchor: ['top', 'right'], anchor: ['top', 'right'],
margin: [6, 182, 0, 0], margins: [6, 182, 0, 0],
name: 'calendar', name: 'calendar',
child: Box({ child: Box({
className: 'date', className: 'date',

View file

@ -40,7 +40,7 @@ export default ({
// Slide right // Slide right
if (offset >= 0) { if (offset >= 0) {
playerBox.setStyle(` playerBox.setCss(`
margin-left: ${offset}px; margin-left: ${offset}px;
margin-right: -${offset}px; margin-right: -${offset}px;
${playerBox._bgStyle} ${playerBox._bgStyle}
@ -50,7 +50,7 @@ export default ({
// Slide left // Slide left
else { else {
offset = Math.abs(offset); offset = Math.abs(offset);
playerBox.setStyle(` playerBox.setCss(`
margin-left: -${offset}px; margin-left: -${offset}px;
margin-right: ${offset}px; margin-right: ${offset}px;
${playerBox._bgStyle} ${playerBox._bgStyle}
@ -75,7 +75,7 @@ export default ({
// Slide away right // Slide away right
if (offset >= 0) { if (offset >= 0) {
playerBox.setStyle(` playerBox.setCss(`
${TRANSITION} ${TRANSITION}
margin-left: ${OFFSCREEN}px; margin-left: ${OFFSCREEN}px;
margin-right: -${OFFSCREEN}px; margin-right: -${OFFSCREEN}px;
@ -85,7 +85,7 @@ export default ({
// Slide away left // Slide away left
else { else {
playerBox.setStyle(` playerBox.setCss(`
${TRANSITION} ${TRANSITION}
margin-left: -${OFFSCREEN}px; margin-left: -${OFFSCREEN}px;
margin-right: ${OFFSCREEN}px; margin-right: ${OFFSCREEN}px;
@ -96,14 +96,14 @@ export default ({
// Put the player in the back after anim // Put the player in the back after anim
overlay.reorder_overlay(playerBox, 0); overlay.reorder_overlay(playerBox, 0);
// Recenter player // Recenter player
playerBox.setStyle(playerBox._bgStyle); playerBox.setCss(playerBox._bgStyle);
widget.sensitive = true; widget.sensitive = true;
}); });
} }
else { else {
// Recenter with transition for animation // Recenter with transition for animation
playerBox.setStyle(`${TRANSITION} ${playerBox._bgStyle}`); playerBox.setCss(`${TRANSITION} ${playerBox._bgStyle}`);
} }
}, 'drag-end'], }, 'drag-end'],
], ],

View file

@ -52,7 +52,7 @@ export const CoverArt = (player, props) => CenterBox({
background-size: cover; background-size: cover;
background-position: center; background-position: center;
`; `;
self.setStyle(self._bgStyle); self.setCss(self._bgStyle);
} }
}); });
}, },
@ -75,7 +75,7 @@ export const CoverArt = (player, props) => CenterBox({
`; `;
if (!self.get_parent()._dragging) if (!self.get_parent()._dragging)
self.setStyle(self._bgStyle); self.setCss(self._bgStyle);
}).catch(err => { }).catch(err => {
if (err !== '') if (err !== '')
print(err); print(err);
@ -200,7 +200,7 @@ const PlayerButton = ({ player, items, onClick, prop }) => Button({
if (prop == 'playBackStatus') { if (prop == 'playBackStatus') {
items.forEach(item => { items.forEach(item => {
item[1].setStyle(` item[1].setCss(`
background-color: ${player.colors.value.hoverAccent}; background-color: ${player.colors.value.hoverAccent};
color: ${player.colors.value.buttonText}; color: ${player.colors.value.buttonText};
min-height: 40px; min-height: 40px;
@ -216,7 +216,7 @@ const PlayerButton = ({ player, items, onClick, prop }) => Button({
self.window.set_cursor(null); self.window.set_cursor(null);
if (prop == 'playBackStatus') { if (prop == 'playBackStatus') {
items.forEach(item => { items.forEach(item => {
item[1].setStyle(` item[1].setCss(`
background-color: ${player.colors.value.buttonAccent}; background-color: ${player.colors.value.buttonAccent};
color: ${player.colors.value.buttonText}; color: ${player.colors.value.buttonText};
min-height: 42px; min-height: 42px;
@ -238,7 +238,7 @@ const PlayerButton = ({ player, items, onClick, prop }) => Button({
if (prop == 'playBackStatus') { if (prop == 'playBackStatus') {
if (button._hovered) { if (button._hovered) {
items.forEach(item => { items.forEach(item => {
item[1].setStyle(` item[1].setCss(`
background-color: ${player.colors.value.hoverAccent}; background-color: ${player.colors.value.hoverAccent};
color: ${player.colors.value.buttonText}; color: ${player.colors.value.buttonText};
min-height: 40px; min-height: 40px;
@ -250,7 +250,7 @@ const PlayerButton = ({ player, items, onClick, prop }) => Button({
} }
else { else {
items.forEach(item => { items.forEach(item => {
item[1].setStyle(` item[1].setCss(`
background-color: ${player.colors.value.buttonAccent}; background-color: ${player.colors.value.buttonAccent};
color: ${player.colors.value.buttonText}; color: ${player.colors.value.buttonText};
min-height: 42px; min-height: 42px;

View file

@ -11,8 +11,8 @@ const FAVE_PLAYER = 'org.mpris.MediaPlayer2.spotify';
const Top = player => Box({ const Top = player => Box({
className: 'top', className: 'top',
halign: 'start', hpack: 'start',
valign: 'start', vpack: 'start',
children: [ children: [
mpris.PlayerIcon(player, { mpris.PlayerIcon(player, {
symbolic: false, symbolic: false,
@ -30,8 +30,8 @@ const Center = player => Box({
Box({ Box({
className: 'metadata', className: 'metadata',
vertical: true, vertical: true,
halign: 'start', hpack: 'start',
valign: 'center', vpack: 'center',
hexpand: true, hexpand: true,
children: [ children: [
mpris.TitleLabel(player), mpris.TitleLabel(player),
@ -59,8 +59,8 @@ const Bottom = player => Box({
className: 'bottom', className: 'bottom',
children: [ children: [
mpris.PreviousButton(player, { mpris.PreviousButton(player, {
valign: 'end', vpack: 'end',
halign: 'start', hpack: 'start',
}), }),
Separator(8), Separator(8),

View file

@ -5,11 +5,11 @@ const display = Gdk.Display.get_default();
export default ({ export default ({
type = 'EventBox', isButton = false,
reset = true, reset = true,
...props ...props
}) => { }) => {
if (type === 'EventBox') { if (!isButton) {
return Widget.EventBox({ return Widget.EventBox({
...props, ...props,
onHover: self => { onHover: self => {

View file

@ -36,7 +36,7 @@ export default ({
// Wrapping the revealer inside a box is needed // Wrapping the revealer inside a box is needed
// to allocate some space for it even when not revealed // to allocate some space for it even when not revealed
child: Box({ child: Box({
style: `min-height:1px; css: `min-height:1px;
min-width:1px; min-width:1px;
padding: 1px;`, padding: 1px;`,
child: Revealer({ child: Revealer({

View file

@ -4,12 +4,12 @@ import { Box } from 'resource:///com/github/Aylur/ags/widget.js';
export default (size, { vertical = false } = {}) => { export default (size, { vertical = false } = {}) => {
if (vertical) { if (vertical) {
return Box({ return Box({
style: `min-height: ${size}px;`, css: `min-height: ${size}px;`,
}); });
} }
else { else {
return Box({ return Box({
style: `min-width: ${size}px;`, css: `min-width: ${size}px;`,
}); });
} }
}; };

View file

@ -1,4 +1,5 @@
import { CenterBox, Label } from 'resource:///com/github/Aylur/ags/widget.js'; import { CenterBox, Label } from 'resource:///com/github/Aylur/ags/widget.js';
import { execAsync } from 'resource:///com/github/Aylur/ags/utils.js';
import PopupWindow from './misc/popup.js'; import PopupWindow from './misc/popup.js';
import Button from './misc/cursorbox.js'; import Button from './misc/cursorbox.js';
@ -9,9 +10,9 @@ const PowermenuWidget = () => CenterBox({
vertical: false, vertical: false,
startWidget: Button({ startWidget: Button({
type: 'Button', isButton: true,
className: 'shutdown', className: 'shutdown',
onPrimaryClickRelease: 'systemctl poweroff', onPrimaryClickRelease: () => execAsync(['systemctl', 'poweroff']).catch(print),
child: Label({ child: Label({
label: '襤', label: '襤',
@ -19,9 +20,9 @@ const PowermenuWidget = () => CenterBox({
}), }),
centerWidget: Button({ centerWidget: Button({
type: 'Button', isButton: true,
className: 'reboot', className: 'reboot',
onPrimaryClickRelease: 'systemctl reboot', onPrimaryClickRelease: () => execAsync(['systemctl', 'reboot']).catch(print),
child: Label({ child: Label({
label: '勒', label: '勒',
@ -29,9 +30,9 @@ const PowermenuWidget = () => CenterBox({
}), }),
endWidget: Button({ endWidget: Button({
type: 'Button', isButton: true,
className: 'logout', className: 'logout',
onPrimaryClickRelease: 'hyprctl dispatch exit', onPrimaryClickRelease: () => execAsync(['hyprctl', 'dispatch', 'exit']).catch(print),
child: Label({ child: Label({
label: '', label: '',

View file

@ -36,8 +36,8 @@ const GridButton = ({
const FirstRow = () => Box({ const FirstRow = () => Box({
className: 'button-row', className: 'button-row',
halign: 'center', hpack: 'center',
style: 'margin-top: 15px; margin-bottom: 7px;', css: 'margin-top: 15px; margin-bottom: 7px;',
children: [ children: [
GridButton({ GridButton({
@ -108,7 +108,7 @@ const FirstRow = () => Box({
}); });
const SubRow = () => CenterBox({ const SubRow = () => CenterBox({
halign: 'start', hpack: 'start',
children: [ children: [
Label({ Label({
@ -154,8 +154,8 @@ const itemsMic = {
const SecondRow = () => Box({ const SecondRow = () => Box({
className: 'button-row', className: 'button-row',
halign: 'center', hpack: 'center',
style: 'margin-top: 7px; margin-bottom: 15px;', css: 'margin-top: 7px; margin-bottom: 15px;',
children: [ children: [
GridButton({ GridButton({
@ -236,7 +236,7 @@ const SecondRow = () => Box({
export default () => Box({ export default () => Box({
className: 'button-grid', className: 'button-grid',
vertical: true, vertical: true,
halign: 'center', hpack: 'center',
children: [ children: [
FirstRow(), FirstRow(),
SubRow(), SubRow(),

View file

@ -20,8 +20,8 @@ const QuickSettingsWidget = () => Box({
Label({ Label({
label: 'Control Center', label: 'Control Center',
className: 'title', className: 'title',
halign: 'start', hpack: 'start',
style: 'margin-left: 20px', css: 'margin-left: 20px',
}), }),
ButtonGrid(), ButtonGrid(),
@ -44,6 +44,6 @@ const QuickSettingsWidget = () => Box({
export default () => PopupWindow({ export default () => PopupWindow({
name: 'quick-settings', name: 'quick-settings',
anchor: ['top', 'right'], anchor: ['top', 'right'],
margin: [6, 5, 0], margins: [6, 5, 0],
child: QuickSettingsWidget(), child: QuickSettingsWidget(),
}); });

View file

@ -14,13 +14,13 @@ const items = {
export default () => Box({ export default () => Box({
className: 'slider-box', className: 'slider-box',
vertical: true, vertical: true,
halign: 'center', hpack: 'center',
children: [ children: [
Box({ Box({
className: 'slider', className: 'slider',
valign: 'start', vpack: 'start',
halign: 'center', hpack: 'center',
children: [ children: [
Icon({ Icon({
size: 26, size: 26,
@ -55,8 +55,8 @@ export default () => Box({
Box({ Box({
className: 'slider', className: 'slider',
valign: 'start', vpack: 'start',
halign: 'center', hpack: 'center',
children: [ children: [
Icon({ Icon({
className: 'slider-label', className: 'slider-label',

View file

@ -11,7 +11,7 @@ export default () => {
toggleButton.add(Icon({ toggleButton.add(Icon({
icon: 'go-down-symbolic', icon: 'go-down-symbolic',
className: 'arrow', className: 'arrow',
style: '-gtk-icon-transform: rotate(180deg);', css: '-gtk-icon-transform: rotate(180deg);',
})); }));
// Setup // Setup
@ -26,12 +26,12 @@ export default () => {
if (toggleButton.get_active()) { if (toggleButton.get_active()) {
toggleButton.get_children()[0] toggleButton.get_children()[0]
.setStyle('-gtk-icon-transform: rotate(0deg);'); .setCss('-gtk-icon-transform: rotate(0deg);');
rev.revealChild = true; rev.revealChild = true;
} }
else { else {
toggleButton.get_children()[0] toggleButton.get_children()[0]
.setStyle('-gtk-icon-transform: rotate(180deg);'); .setCss('-gtk-icon-transform: rotate(180deg);');
rev.revealChild = false; rev.revealChild = false;
} }
}); });

View file

@ -1,18 +1,19 @@
import { Widget } from 'resource:///com/github/Aylur/ags/widget.js'; import { Box, DrawingArea, Window } from 'resource:///com/github/Aylur/ags/widget.js';
import Gtk from 'gi://Gtk'; import Gtk from 'gi://Gtk';
const Lang = imports.lang; const Lang = imports.lang;
export const RoundedCorner = (place, props) => Widget.Box({ export const RoundedCorner = (place, props) => Box({
halign: place.includes('left') ? 'start' : 'end', hpack: place.includes('left') ? 'start' : 'end',
valign: place.includes('top') ? 'start' : 'end', vpack: place.includes('top') ? 'start' : 'end',
style: `padding: 1px; margin: css: `
padding: 1px; margin:
${place.includes('top') ? '-1px' : '0'} ${place.includes('top') ? '-1px' : '0'}
${place.includes('right') ? '-1px' : '0'} ${place.includes('right') ? '-1px' : '0'}
${place.includes('bottom') ? '-1px' : '0'} ${place.includes('bottom') ? '-1px' : '0'}
${place.includes('left') ? '-1px' : '0'};`, ${place.includes('left') ? '-1px' : '0'};
child: Widget({ `,
child: DrawingArea({
...props, ...props,
type: Gtk.DrawingArea,
setup: widget => { setup: widget => {
const r = widget.get_style_context() const r = widget.get_style_context()
.get_property('border-radius', Gtk.StateFlags.NORMAL); .get_property('border-radius', Gtk.StateFlags.NORMAL);
@ -69,7 +70,7 @@ export const RoundedCorner = (place, props) => Widget.Box({
}), }),
}); });
export const Topleft = () => Widget.Window({ export const Topleft = () => Window({
name: 'cornertl', name: 'cornertl',
layer: 'overlay', layer: 'overlay',
anchor: ['top', 'left'], anchor: ['top', 'left'],
@ -77,7 +78,7 @@ export const Topleft = () => Widget.Window({
visible: true, visible: true,
child: RoundedCorner('topleft', { className: 'corner' }), child: RoundedCorner('topleft', { className: 'corner' }),
}); });
export const Topright = () => Widget.Window({ export const Topright = () => Window({
name: 'cornertr', name: 'cornertr',
layer: 'overlay', layer: 'overlay',
anchor: ['top', 'right'], anchor: ['top', 'right'],
@ -85,7 +86,7 @@ export const Topright = () => Widget.Window({
visible: true, visible: true,
child: RoundedCorner('topright', { className: 'corner' }), child: RoundedCorner('topright', { className: 'corner' }),
}); });
export const Bottomleft = () => Widget.Window({ export const Bottomleft = () => Window({
name: 'cornerbl', name: 'cornerbl',
layer: 'overlay', layer: 'overlay',
anchor: ['bottom', 'left'], anchor: ['bottom', 'left'],
@ -93,7 +94,7 @@ export const Bottomleft = () => Widget.Window({
visible: true, visible: true,
child: RoundedCorner('bottomleft', { className: 'corner' }), child: RoundedCorner('bottomleft', { className: 'corner' }),
}); });
export const Bottomright = () => Widget.Window({ export const Bottomright = () => Window({
name: 'cornerbr', name: 'cornerbr',
layer: 'overlay', layer: 'overlay',
anchor: ['bottom', 'right'], anchor: ['bottom', 'right'],

View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1698970509, "lastModified": 1699229982,
"narHash": "sha256-5n048xWGUgvqGfnVszh7/8Bv75czYO12gaZWx/KImGg=", "narHash": "sha256-jaBKnLnUsXzIS8v/6TZO/+2S+HAfHWI3S+Vgv8ox2Ug=",
"owner": "Aylur", "owner": "Aylur",
"repo": "ags", "repo": "ags",
"rev": "7720f98f1aaa73b2a85f70652eb9c3c1cd4485e2", "rev": "c8f77f33e0abd077648e904a677c27f75c9bd5b7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -216,11 +216,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1698165573, "lastModified": 1699216084,
"narHash": "sha256-cnMTgCDnZiQKsf+wVzigpexskqRCFTKgS58Wx2rNU1c=", "narHash": "sha256-IjuxIYOigZGTmnbqcsWgKjl5wlYyiStp0MyPMx+FKBw=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "hercules-ci-effects", "repo": "hercules-ci-effects",
"rev": "300e0af24a1bbe32d115beb182efb01785582c45", "rev": "82a40e14dce72bcb6718f473756c9cc9ad2e87cf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -236,11 +236,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1699025595, "lastModified": 1699290318,
"narHash": "sha256-e+o4PoSu2Z6Ww8y/AVUmMU200rNZoRK+p2opQ7Db8Rg=", "narHash": "sha256-weH8oEJo+g0yJtGGU+Zo2pg5kOxPUCAFl8v/5dEnH00=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "8765d4e38aa0be53cdeee26f7386173e6c65618d", "rev": "c067d57fc4552835987fd7611c3a6741ee32ebd5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -256,11 +256,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1698496990, "lastModified": 1699271265,
"narHash": "sha256-3KOSa+u2H0Y9hBHWtjLPzkXuZW4+e8FdkiGpRWJ4nhU=", "narHash": "sha256-u+Do1GSMXKj8hnuF6NCP2wCjoQbqvM+bP9utdB5DLRs=",
"owner": "horriblename", "owner": "horriblename",
"repo": "hyprgrass", "repo": "hyprgrass",
"rev": "773c0a2bcc7759e5c4099ba1fe105ae9118a91f3", "rev": "ba85cbd127371adf35d0e57cc481f7bab8ab1aa8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -278,11 +278,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1699214243, "lastModified": 1699296543,
"narHash": "sha256-Qf7gKEGDTE9jbcMjJJXuJwEJHTsJQM+e2DpXC6LFnTo=", "narHash": "sha256-9MYwT+vVmitFIjPZhzn5ZsKNCwgKGU98SW1gAX5bvXs=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "ecf98069f655a4e54943ec70d638ddcf429211d1", "rev": "29e0a7112ef5c412e4af640b9d80f80b81a26c94",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -346,11 +346,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1699183738, "lastModified": 1699282964,
"narHash": "sha256-sB26+v7LQyqzY2zhctvToBXIzGYYCVln4soWNo47ArY=", "narHash": "sha256-uIalDDBUjjX3HINnL+MB6Mf95JDakhfBLm+M1XNlL6w=",
"owner": "nix-community", "owner": "nix-community",
"repo": "neovim-nightly-overlay", "repo": "neovim-nightly-overlay",
"rev": "9b45b7f15512d85556f03667e25beee4a450d9f0", "rev": "0036c74db3c3dc3026c275d4814debf9105106b2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -369,11 +369,11 @@
}, },
"locked": { "locked": {
"dir": "contrib", "dir": "contrib",
"lastModified": 1699181322, "lastModified": 1699268588,
"narHash": "sha256-Kp7k9MrkxG19jHtwVn8DniZa+2YAG/KNQKuK2Fcunm0=", "narHash": "sha256-qiJ0049VYw2rw6AeWDk22QDJYvMkWGfSq3dFyLKFZjQ=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "4d757bbfbb6c0e5280563779c4b4ee1ce9142cf0", "rev": "0774d0cfe1d5efb4bdd34cc8cf3799af5c947d2e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -413,11 +413,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1699060277, "lastModified": 1699261003,
"narHash": "sha256-As0PilG8NEQzIMOFIzfI3zkBNH2CJHZJXRL5Rc36Ojc=", "narHash": "sha256-wkOVJ2wkPpTYqipDF693bEAUQ838xjloUcs6WNsTMlw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-eval-jobs", "repo": "nix-eval-jobs",
"rev": "20a24e8b1004d3293525334ccf3254c083d6fbaa", "rev": "2b55f473c960d38a40678d9831fc1dcb87615a98",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -571,11 +571,11 @@
}, },
"nixpkgs-staging": { "nixpkgs-staging": {
"locked": { "locked": {
"lastModified": 1699106880, "lastModified": 1699244619,
"narHash": "sha256-dPXRT/S+Av4+YTMI/LFVxlWHyFD7BP3fNVqsJJc0Q1g=", "narHash": "sha256-SS/6vxpp19Axs6xQqa4inwFiuItMLqAT2DPCyVyGhpc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b0cd63ea041313c0e2a20520a6dfa34e844c17db", "rev": "5a803b4198b59d6bd6f983f77307618e4f25af12",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -593,11 +593,11 @@
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1699222410, "lastModified": 1699294820,
"narHash": "sha256-qGuDXk991Mlws0f8DXNua82G+22jMBwoFG80o1sF66M=", "narHash": "sha256-XJmvNGOS1kIcbCvMjWOF9+3KqyFJU6vZyPTM9sQv9tg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs-wayland", "repo": "nixpkgs-wayland",
"rev": "74717cb06fc24dbf57002bb1cf6d36fc50293d34", "rev": "780125b61dadc14c5d025018d2607cb33a80e6c9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -640,11 +640,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1698977350, "lastModified": 1699236715,
"narHash": "sha256-OUDOHWrX3EjX/MlOoCHEb3JMONklbpu4Wa+Xf5s/U+s=", "narHash": "sha256-oel+a6B5mBO7vA1A/I9A9VTK2jW5shnYAuu08RYhmxQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4285a2a67daf39e63d9564a47773a1c2081c36a8", "rev": "0d93ec62e06faec6c52331a8a87bd5721b38ce14",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -672,11 +672,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1699220832, "lastModified": 1699310700,
"narHash": "sha256-i89TLmU1aNsZsSbMg63RoWrKWaYPCXUQQsfxg+bj2nY=", "narHash": "sha256-ikf86iIwAyGoJVuJhdX32yKseCzerxcuehJnq/peuZk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "d0c6e2ebb941d9141e68fd8922173d65d201b4b7", "rev": "53caf62f38d288c3ee1d11e8c5c94b6168343784",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -692,11 +692,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1698771340, "lastModified": 1699296867,
"narHash": "sha256-MmTHSc2epsMN1thvKTwfAveCE54jHC+boWkCcP/Lmac=", "narHash": "sha256-2PXGu6YrqppJGj7SzhstL5EEu/DG1hwrV18JED2Dafs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nurl", "repo": "nurl",
"rev": "0812d73c1724af0dab7d567ec5db9ea32683d33a", "rev": "99f93c8e6eddfaa851c9fb8ae206305da9cd2614",
"type": "github" "type": "github"
}, },
"original": { "original": {