chore: update flake.lock

This commit is contained in:
matt1432 2023-10-17 23:21:24 -04:00
parent fb668e14ed
commit 5701873625
5 changed files with 17 additions and 11 deletions

View file

@ -8,6 +8,12 @@ import { RoundedCorner } from '../screen-corners.js';
import Gesture from './gesture.js';
// TODO: add fullscreen status in hyprland.ts
// TODO: when fullscreen changes, keep current workspace in memory.
// if it changes while still in fullscreen, check directly
// with hyprctl if in fullscreen or not until fullscreen
// status changes again
export default (props) => Overlay({
overlays: [
RoundedCorner('topleft', { className: 'corner' }),

View file

@ -14,7 +14,7 @@ export default ({
let gesture = Gtk.GestureSwipe.new(widget);
widget.child = CenterBox({
widget.add(CenterBox({
children: [ child ],
connections: [[gesture, () => {
const velocity = gesture.get_velocity()[1];
@ -22,7 +22,7 @@ export default ({
App.openWindow('quick-settings');
}, 'update']],
});
}));
return widget;
};

View file

@ -9,10 +9,10 @@ const TRANSITION = 'transition: margin 0.5s ease, opacity 3s ease;';
export default ({ properties, connections, props } = {}) => {
let widget = EventBox();
let widget = EventBox({});
let gesture = Gtk.GestureDrag.new(widget)
widget.child = Overlay({
widget.add(Overlay({
...props,
properties: [
...properties,
@ -80,7 +80,7 @@ export default ({ properties, connections, props } = {}) => {
}, 'drag-end'],
],
});
}));
widget.child.list = () => widget.child.get_children().filter(ch => ch._bgStyle !== undefined);
return widget;

View file

@ -38,17 +38,17 @@ const Center = player => Box({
],
}),
Label(),
Label(),
null,
null,
],
}),
CenterBox({
vertical: true,
children: [
Label(),
null,
mpris.PlayPauseButton(player),
Label(),
null,
],
}),

View file

@ -56,7 +56,7 @@ export default ({
margin-right: -${Number(maxOffset + endMargin)}px;
margin-bottom: -70px; margin-top: -70px; opacity: 0;`;
widget.child = Box({
widget.add(Box({
properties: [
['leftAnim1', leftAnim1],
['leftAnim2', leftAnim2],
@ -136,7 +136,7 @@ export default ({
}, 'drag-end'],
],
});
}));
return widget;
};