34 lines
822 B
JavaScript
34 lines
822 B
JavaScript
const audio = await Service.import("mpris");
|
|
import DropdownMenu from "../DropdownMenu.js";
|
|
|
|
export default () => {
|
|
return DropdownMenu({
|
|
name: "mediamenu",
|
|
transition: "crossfade",
|
|
fixed: true,
|
|
child: Widget.Box({
|
|
class_name: "menu-items",
|
|
child: Widget.Box({
|
|
vertical: true,
|
|
hexpand: true,
|
|
class_name: "menu-items-container",
|
|
children: [
|
|
Widget.Box({
|
|
class_name: "menu-dropdown-label-container",
|
|
hpack: "start",
|
|
children: [
|
|
Widget.Label({
|
|
class_name: "menu-dropdown-label media",
|
|
label: "Media",
|
|
}),
|
|
],
|
|
}),
|
|
Widget.Separator({
|
|
class_name: "menu-separator",
|
|
}),
|
|
],
|
|
}),
|
|
}),
|
|
});
|
|
};
|