diff --git a/nixosModules/ags/config/widgets/bar/items/network.tsx b/nixosModules/ags/config/widgets/bar/items/network.tsx index 513475c3..84777a82 100644 --- a/nixosModules/ags/config/widgets/bar/items/network.tsx +++ b/nixosModules/ags/config/widgets/bar/items/network.tsx @@ -2,11 +2,12 @@ import { bind, Variable } from 'astal'; import { Gtk } from 'astal/gtk3'; import AstalNetwork from 'gi://AstalNetwork'; -const Network = AstalNetwork.get_default(); export default () => { const Hovered = Variable(false); + // TODO: do this everywhere else + const network = AstalNetwork.get_default(); return (