mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-14 05:37:17 +00:00
19 lines
336 B
Plaintext
19 lines
336 B
Plaintext
|
(defwidget clock_module []
|
||
|
|
||
|
(eventbox
|
||
|
:tooltip {time.day}
|
||
|
:class "module clock"
|
||
|
;; :onclick "${EWW_CMD} open --toggle calendar"
|
||
|
|
||
|
(box
|
||
|
:space-evenly false
|
||
|
|
||
|
(label
|
||
|
:class "icon"
|
||
|
:text "")
|
||
|
(label
|
||
|
:class "value"
|
||
|
:text "${time.date} ${time.hour}:${time.minute}")
|
||
|
)))
|
||
|
|