From 7410ad016f3cf9bbccab0d3a196688a0e472307f Mon Sep 17 00:00:00 2001 From: tux Date: Sat, 27 Sep 2025 21:02:53 +0530 Subject: [PATCH] feat: add bluetooth widget --- .../scalable/devices/fa-bluetooth-symbolic.svg | 1 + widgets/bar/bluetooth.tsx | 16 ++++++++++++++++ widgets/bar/index.tsx | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 assets/icons/hicolor/scalable/devices/fa-bluetooth-symbolic.svg create mode 100644 widgets/bar/bluetooth.tsx diff --git a/assets/icons/hicolor/scalable/devices/fa-bluetooth-symbolic.svg b/assets/icons/hicolor/scalable/devices/fa-bluetooth-symbolic.svg new file mode 100644 index 0000000..cdecbfd --- /dev/null +++ b/assets/icons/hicolor/scalable/devices/fa-bluetooth-symbolic.svg @@ -0,0 +1 @@ + diff --git a/widgets/bar/bluetooth.tsx b/widgets/bar/bluetooth.tsx new file mode 100644 index 0000000..58de2fe --- /dev/null +++ b/widgets/bar/bluetooth.tsx @@ -0,0 +1,16 @@ +import { Gdk } from "ags/gtk4"; +import { execAsync } from "ags/process"; + +export const Bluetooth = () => { + return ( + + ); +}; diff --git a/widgets/bar/index.tsx b/widgets/bar/index.tsx index cdc70c8..b17aab7 100644 --- a/widgets/bar/index.tsx +++ b/widgets/bar/index.tsx @@ -6,6 +6,7 @@ import { Network } from "./network"; import { Time } from "./time"; import { Tray } from "./tray"; import { WorkspaceButton } from "./workspace"; +import { Bluetooth } from "./bluetooth"; export const WINDOW_NAME = "bar"; @@ -35,6 +36,7 @@ export const Bar = (gdkmonitor: Gdk.Monitor) => { +