From 8021e580a24fa4703238af27da3bbdee7ff4b144 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 26 Mar 2025 16:54:08 +1100 Subject: sidebar: connectivity pane Bluetooth module --- src/modules/sidebar/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/modules/sidebar/index.tsx') diff --git a/src/modules/sidebar/index.tsx b/src/modules/sidebar/index.tsx index 49a118b..2a13f5c 100644 --- a/src/modules/sidebar/index.tsx +++ b/src/modules/sidebar/index.tsx @@ -2,12 +2,13 @@ import type { Monitor } from "@/services/monitors"; import { bind, register, Variable } from "astal"; import { App, Astal, Gdk, Gtk, Widget } from "astal/gtk3"; import { sidebar } from "config"; +import Connectivity from "./connectivity"; import Dashboard from "./dashboard"; import NotifPane from "./notifpane"; @register() export default class SideBar extends Widget.Window { - readonly shown: Variable = Variable("dashboard"); + readonly shown: Variable; constructor({ monitor }: { monitor: Monitor }) { super({ @@ -20,7 +21,8 @@ export default class SideBar extends Widget.Window { visible: sidebar.showOnStartup.get(), }); - const panes = [, ]; + const panes = [, , ]; + this.shown = Variable(panes[0].name); this.add(