ags/widget/Hyprland/client.tsx
2025-04-06 10:06:25 -04:00

15 lines
304 B
TypeScript

import { bind } from "astal";
import Hyprland from "gi://AstalHyprland";
const hyprland = Hyprland.get_default();
function Client() {
return (
<label
cssClasses={["no-styles"]}
label={bind(hyprland, "focused_client").as((fc) => fc.initialTitle)}
/>
);
}
export default Client;