mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2025-10-10 21:01:54 +05:30
14 lines
300 B
TypeScript
14 lines
300 B
TypeScript
import { App } from "astal/gtk4";
|
|
import { WINDOW_NAME } from "../app-launcher";
|
|
|
|
export const Launcher = () => {
|
|
return (
|
|
<button
|
|
cssClasses={["pill", "launcher"]}
|
|
onClicked={() => App.toggle_window(WINDOW_NAME)}
|
|
>
|
|
<image iconName="nix-symbolic" />
|
|
</button>
|
|
);
|
|
};
|