sidebar: add bluetooth devices

This commit is contained in:
end-4
2024-03-27 17:47:44 +07:00
parent 583ed44937
commit 14031c5e6f
4 changed files with 133 additions and 3 deletions
@@ -17,6 +17,8 @@ import {
} from "./quicktoggles.js";
import ModuleNotificationList from "./centermodules/notificationlist.js";
import ModuleVolumeMixer from "./centermodules/volumemixer.js";
// import ModuleNetworks from "./centermodules/networks.js";
import ModuleBluetooth from "./centermodules/bluetooth.js";
import { ModuleCalendar } from "./calendar.js";
import { getDistroIcon } from '../.miscutils/system.js';
import { MaterialIcon } from '../.commonwidgets/materialicon.js';
@@ -34,6 +36,16 @@ const centerWidgets = [
materialIcon: 'volume_up',
contentWidget: ModuleVolumeMixer(),
},
// {
// name: 'Networks',
// materialIcon: 'lan',
// contentWidget: ModuleNetworks(),
// },
{
name: 'Bluetooth',
materialIcon: 'bluetooth',
contentWidget: ModuleBluetooth(),
},
];
const timeRow = Box({