mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2026-01-24 10:32:39 +00:00
feat: update ags
This commit is contained in:
11
home/desktops/hyprland/ags/js/bar/buttons/PowerMenu.js
Normal file
11
home/desktops/hyprland/ags/js/bar/buttons/PowerMenu.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import Widget from "resource:///com/github/Aylur/ags/widget.js";
|
||||
import App from "resource:///com/github/Aylur/ags/app.js";
|
||||
import icons from "../../icons.js";
|
||||
import PanelButton from "../PanelButton.js";
|
||||
|
||||
export default () =>
|
||||
PanelButton({
|
||||
class_name: "powermenu",
|
||||
content: Widget.Icon(icons.powermenu.shutdown),
|
||||
on_clicked: () => App.openWindow("powermenu"),
|
||||
});
|
||||
Reference in New Issue
Block a user