Implemented majority of dashboard

This commit is contained in:
Jas Singh
2024-07-08 01:13:26 -07:00
parent eee68e8acf
commit 251a4da2bc
11 changed files with 891 additions and 92 deletions

View File

@@ -1,30 +1,44 @@
const Controls = () => {
return Widget.Box({
class_name: "controls-container",
class_name: "dashboard-card controls-container",
hpack: "fill",
vpack: "fill",
expand: true,
children: [
Widget.Button({
class_name: "dashboard-button airplane-mode",
}),
Widget.Separator({
hpack: "center",
vexpand: true,
vertical: true,
class_name: "menu-separator dashboard-controls",
}),
Widget.Button({
expand: true,
class_name: "dashboard-button wifi",
child: Widget.Label({
label: "󰤨",
}),
}),
Widget.Button({
expand: true,
class_name: "dashboard-button bluetooth",
child: Widget.Label({
label: "󰂯",
}),
}),
Widget.Button({
expand: true,
class_name: "dashboard-button notifications",
child: Widget.Label({
label: "󰂚",
}),
}),
Widget.Button({
expand: true,
class_name: "dashboard-button playback",
child: Widget.Label({
label: "󰕾",
}),
}),
Widget.Button({
expand: true,
class_name: "dashboard-button input",
child: Widget.Label({
label: "󰍬",
}),
}),
],
});