Switch to SwayFX
This commit is contained in:
parent
6571feaff7
commit
c310042564
41 changed files with 1450 additions and 294 deletions
|
@ -0,0 +1,25 @@
|
|||
export const Application = (application) =>
|
||||
Widget.Button({
|
||||
class_name: "application",
|
||||
on_clicked: () => {
|
||||
App.closeWindow("launcher");
|
||||
application.launch();
|
||||
},
|
||||
attribute: { application },
|
||||
child: Widget.Box({
|
||||
children: [
|
||||
Widget.Icon({
|
||||
icon: application.icon_name || "",
|
||||
size: 32,
|
||||
}),
|
||||
Widget.Label({
|
||||
class_name: "application_name",
|
||||
label: application.name,
|
||||
xalign: 0,
|
||||
vpack: "center",
|
||||
truncate: "end",
|
||||
}),
|
||||
],
|
||||
spacing: 8,
|
||||
}),
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue