ags/widget/OS.tsx
2025-04-07 20:59:43 -04:00

18 lines
399 B
TypeScript

import { GLib } from "astal";
import { Gdk, Gtk } from "astal/gtk4";
const OS = function () {
return (
<button
cursor={Gdk.Cursor.new_from_name("pointer", null)}
onClicked="echo hello"
hexpand
halign={Gtk.Align.START}
cssClasses={["Arch"]}
>
<image iconName={GLib.get_os_info("LOGO") || "missing-symbolic"} />
</button>
);
};
export default OS;