Files
colorshell/ags/widget/bar/Logo.ts
T
2025-02-28 10:21:37 -03:00

16 lines
490 B
TypeScript

import { Widget } from "astal/gtk3";
import AstalHyprland from "gi://AstalHyprland";
export function Logo() {
return new Widget.EventBox({
onClickRelease: () => AstalHyprland.get_default().dispatch("exec", "anyrun"),
className: "logo",
child: new Widget.Box({
child: new Widget.Label({
className: "nf",
label: "",
} as Widget.LabelProps)
} as Widget.BoxProps)
} as Widget.EventBoxProps);
}