Files
custum-hyprpanel/modules/menus/bluetooth/index.js

23 lines
551 B
JavaScript

const bluetooth = await Service.import("bluetooth");
import DropdownMenu from "../DropdownMenu.js";
import { Devices } from "./devices/index.js";
export default () => {
return DropdownMenu({
name: "bluetoothmenu",
transition: "crossfade",
child: Widget.Box({
class_name: "menu-items",
hpack: "fill",
hexpand: true,
child: Widget.Box({
vertical: true,
hpack: "fill",
hexpand: true,
class_name: "menu-items-container bluetooth",
child: Devices(),
}),
}),
});
};