ags: fmt with prettier
This commit is contained in:
parent
3a3965b4d9
commit
c65b649ff4
8 changed files with 70 additions and 79 deletions
home/ags/config/js/widgets
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue