nixos-configs/config/ags/js/quick-settings/main.js

42 lines
775 B
JavaScript
Raw Normal View History

const { Window, CenterBox, Box, Label } = ags.Widget;
import { ButtonGrid } from './button-grid.js';
import { SliderBox } from './slider-box.js';
//import { Player } from
export const QuickSettings = Window({
name: 'quick-settings',
layer: 'overlay',
popup: true,
anchor: 'top right',
margin: [ 8, 5, 0, ],
child: Box({
className: 'qs-container',
vertical: true,
children: [
Box({
className: 'quick-settings',
vertical: true,
children: [
Label({
label: 'Control Center',
className: 'title',
halign: 'start',
style: 'margin-left: 20px'
}),
ButtonGrid,
SliderBox,
],
}),
//Player,
],
}),
});