Added ags to hyprland
This commit is contained in:
28
home/desktops/hyprland/ags/modules/overview/main.js
Normal file
28
home/desktops/hyprland/ags/modules/overview/main.js
Normal file
@@ -0,0 +1,28 @@
|
||||
import Widget from 'resource:///com/github/Aylur/ags/widget.js';
|
||||
import { SearchAndWindows } from "./windowcontent.js";
|
||||
import PopupWindow from '../.widgethacks/popupwindow.js';
|
||||
import { clickCloseRegion } from '../.commonwidgets/clickcloseregion.js';
|
||||
|
||||
export default (id = '') => PopupWindow({
|
||||
name: `overview${id}`,
|
||||
// exclusivity: 'ignore',
|
||||
keymode: 'on-demand',
|
||||
visible: false,
|
||||
anchor: ['top', 'bottom', 'left', 'right'],
|
||||
layer: 'overlay',
|
||||
child: Widget.Box({
|
||||
vertical: true,
|
||||
children: [
|
||||
clickCloseRegion({ name: 'overview', multimonitor: false, expand: false }),
|
||||
Widget.Box({
|
||||
children: [
|
||||
clickCloseRegion({ name: 'overview', multimonitor: false }),
|
||||
SearchAndWindows(),
|
||||
clickCloseRegion({ name: 'overview', multimonitor: false }),
|
||||
]
|
||||
}),
|
||||
clickCloseRegion({ name: 'overview', multimonitor: false }),
|
||||
]
|
||||
}),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user