Added ags to hyprland
This commit is contained in:
14
home/desktops/hyprland/ags/modules/session/main.js
Normal file
14
home/desktops/hyprland/ags/modules/session/main.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import Widget from 'resource:///com/github/Aylur/ags/widget.js';
|
||||
import SessionScreen from "./sessionscreen.js";
|
||||
import PopupWindow from '../.widgethacks/popupwindow.js';
|
||||
|
||||
export default (id = 0) => PopupWindow({ // On-screen keyboard
|
||||
monitor: id,
|
||||
name: `session${id}`,
|
||||
visible: false,
|
||||
keymode: 'on-demand',
|
||||
layer: 'overlay',
|
||||
exclusivity: 'ignore',
|
||||
anchor: ['top', 'bottom', 'left', 'right'],
|
||||
child: SessionScreen({ id: id }),
|
||||
})
|
||||
Reference in New Issue
Block a user