mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2026-01-09 01:02:49 +00:00
feat: update ags
This commit is contained in:
19
home/desktops/hyprland/ags/js/misc/RegularWindow.js
Normal file
19
home/desktops/hyprland/ags/js/misc/RegularWindow.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import Widget from "resource:///com/github/Aylur/ags/widget.js";
|
||||
import Gtk from "gi://Gtk";
|
||||
import AgsWidget from "resource:///com/github/Aylur/ags/widgets/widget.js";
|
||||
|
||||
class RegularWindow extends AgsWidget(Gtk.Window, "RegularWindow") {
|
||||
static {
|
||||
AgsWidget.register(this);
|
||||
}
|
||||
/**
|
||||
* @param {import('types/widgets/widget').BaseProps<
|
||||
* RegularWindow, Gtk.Window.ConstructorProperties
|
||||
* >} params */
|
||||
constructor(params) {
|
||||
// @ts-expect-error
|
||||
super(params);
|
||||
}
|
||||
}
|
||||
|
||||
export default Widget.createCtor(RegularWindow);
|
||||
Reference in New Issue
Block a user