mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2025-10-10 12:51:54 +05:30
17 lines
395 B
TypeScript
17 lines
395 B
TypeScript
import { Gdk } from "ags/gtk4";
|
|
import { execAsync } from "ags/process";
|
|
|
|
export const Bluetooth = () => {
|
|
return (
|
|
<button
|
|
cssClasses={["launcher"]}
|
|
cursor={Gdk.Cursor.new_from_name("pointer", null)}
|
|
onClicked={() =>
|
|
execAsync(`wezterm start --class wezterm-floating bluetui`)
|
|
}
|
|
>
|
|
<image iconName="fa-bluetooth-symbolic" />
|
|
</button>
|
|
);
|
|
};
|