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

14 lines
287 B
JavaScript
Raw Normal View History

2023-08-27 11:28:14 -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');
},
}),
});