Added ags to hyprland
This commit is contained in:
18
home/desktops/hyprland/ags/modules/sideright/main.js
Normal file
18
home/desktops/hyprland/ags/modules/sideright/main.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import PopupWindow from '../.widgethacks/popupwindow.js';
|
||||
import SidebarRight from "./sideright.js";
|
||||
import Widget from 'resource:///com/github/Aylur/ags/widget.js';
|
||||
const { Box } = Widget;
|
||||
import clickCloseRegion from '../.commonwidgets/clickcloseregion.js';
|
||||
|
||||
export default () => PopupWindow({
|
||||
keymode: 'on-demand',
|
||||
anchor: ['right', 'top', 'bottom'],
|
||||
name: 'sideright',
|
||||
layer: 'overlay',
|
||||
child: Box({
|
||||
children: [
|
||||
clickCloseRegion({ name: 'sideright', multimonitor: false, fillMonitor: 'horizontal' }),
|
||||
SidebarRight(),
|
||||
]
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user