1
0
Fork 0

Switch to SwayFX

This commit is contained in:
Avery 2024-09-05 21:01:29 +02:00
parent 6571feaff7
commit c310042564
Signed by: Avery
GPG key ID: B684FD451B692E04
41 changed files with 1450 additions and 294 deletions

View file

@ -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,
}),
});