feat: add bluetooth widget

This commit is contained in:
tux
2025-09-27 21:02:53 +05:30
parent a24b448560
commit 7410ad016f
3 changed files with 19 additions and 0 deletions

16
widgets/bar/bluetooth.tsx Normal file
View File

@@ -0,0 +1,16 @@
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>
);
};