nixos-configs/config/ags/js/misc/closer.js

14 lines
287 B
JavaScript
Raw Normal View History

2023-09-11 19:57:21 -04:00
export const Closer = ags.Widget.Window({
name: 'closer',
popup: true,
layer: 'top',
anchor: 'top bottom left right',
child: ags.Widget.EventBox({
onPrimaryClickRelease: () => {
ags.App.closeWindow('powermenu');
ags.App.closeWindow('closer');
},
}),
});