diff --git a/config/eww-ahrc--laptop/eww.yuck b/config/eww-ahrc--laptop/eww.yuck index 1523fa8..8e1cc0b 100644 --- a/config/eww-ahrc--laptop/eww.yuck +++ b/config/eww-ahrc--laptop/eww.yuck @@ -95,7 +95,11 @@ )) (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 [] @@ -185,3 +189,16 @@ ) ) ) + +(defwindow calendar + :monitor 0 + :geometry (geometry + :anchor "bottom center" + :width "350px" + :height "200px" + ) + :exclusive false + ; :stacking "fg" + + (calendar) +)