diff --git a/modules/bar.tsx b/modules/bar.tsx index 933fa5e1..6821b946 100644 --- a/modules/bar.tsx +++ b/modules/bar.tsx @@ -1,7 +1,7 @@ import { execAsync, GLib, register, Variable } from "astal"; import { bind, kebabify } from "astal/binding"; import { App, Astal, astalify, Gdk, Gtk, type ConstructProps } from "astal/gtk3"; -import AstalBluetooth01 from "gi://AstalBluetooth"; +import AstalBluetooth from "gi://AstalBluetooth"; import AstalHyprland from "gi://AstalHyprland"; import AstalNetwork from "gi://AstalNetwork"; import AstalNotifd from "gi://AstalNotifd"; @@ -189,12 +189,27 @@ const TrayItem = (item: AstalTray.TrayItem) => { const Tray = () => {bind(AstalTray.get_default(), "items").as(i => i.map(TrayItem))}; const Network = () => ( - - p === AstalNetwork.Primary.WIFI ? "wifi" : "wired" - )} + ); const Bluetooth = () => ( - (p ? "enabled" : "disabled"))} + ); const StatusIcons = () => (