refactor start
This commit is contained in:
parent
bd49791e06
commit
e46d25f0b7
16699 changed files with 2 additions and 1484887 deletions
|
|
@ -1,15 +0,0 @@
|
|||
import { clock } from "lib/variables"
|
||||
import PanelButton from "../PanelButton"
|
||||
import options from "options"
|
||||
|
||||
const { format, action } = options.bar.date
|
||||
const time = Utils.derive([clock, format], (c, f) => c.format(f) || "")
|
||||
|
||||
export default () => PanelButton({
|
||||
window: "datemenu",
|
||||
on_clicked: action.bind(),
|
||||
child: Widget.Label({
|
||||
justification: "center",
|
||||
label: time.bind(),
|
||||
}),
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue