14 lines
271 B
TypeScript
14 lines
271 B
TypeScript
import { bind } from "astal";
|
|
import Hyprland from "gi://AstalHyprland";
|
|
|
|
const hyprland = Hyprland.get_default();
|
|
|
|
function Client() {
|
|
return (
|
|
<label
|
|
label={bind(hyprland, "focused_client").as((fc) => fc.initialTitle)}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export default Client;
|