This commit is contained in:
wt committed 2025-03-11 17:43:29 +07:00
1 parent 094e1351e3
commit dddb4bce11
5 files changed
+70 -38

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import { close_all_menus } from "../utils/windows";
import { App, Gtk } from "astal/gtk3";
export default function PowerMenuButton() {
return (
<button
onClicked={() => {
close_all_menus("powermenu");
App.toggle_window("powermenu");
}}
halign={Gtk.Align.START}
className="Menubutton"
>
⏻
</button>
);
}