ags: fmt with prettier

This commit is contained in:
notohh 2024-02-01 17:48:30 -05:00
commit c65b649ff4
Signed by: notohh
GPG key ID: BD47506D475EE86D
8 changed files with 70 additions and 79 deletions
home/ags/config/js/widgets

View file

@ -3,14 +3,12 @@ import { Utils, Widget } from "../../import.js";
const Time = () =>
Widget.Box({
child: Widget.Label({
className: "date",
}).poll(
1000,
(self) =>
Utils.execAsync(["date", "+%a %b %d %H:%M"]).then((time) =>
self.label = time
),
),
className: "date"
}).poll(1000, (self) =>
Utils.execAsync(["date", "+%a %b %d %H:%M"]).then(
(time) => (self.label = time)
)
)
});
export { Time };
export { Time };