ags/widget/OS.tsx
2025-04-07 21:42:03 -04:00

17 lines
376 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"]}
iconName={GLib.get_os_info("LOGO") || "missing-symbolic"}
/>
);
};
export default OS;