config/eww ahrc-laptop : ajout calendrier

This commit is contained in:
Ahurac 2024-05-31 14:52:59 +02:00
parent 52edd90c6a
commit 9ea3826c2c

View file

@ -95,7 +95,11 @@
)) ))
(defwidget time [] (defwidget time []
"${formattime(EWW_TIME, "%Y-%m-%d")} ${formattime(EWW_TIME, "%H:%M:%S")}" (box (eventbox
:onclick 'eww open --toggle calendar'
"${formattime(EWW_TIME, "%Y-%m-%d")} ${formattime(EWW_TIME, "%H:%M:%S")}"
))
) )
(defwidget notifications [] (defwidget notifications []
@ -185,3 +189,16 @@
) )
) )
) )
(defwindow calendar
:monitor 0
:geometry (geometry
:anchor "bottom center"
:width "350px"
:height "200px"
)
:exclusive false
; :stacking "fg"
(calendar)
)