From 2cba464bf76835870b502748336a9bb3d137fbba Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 12 Jan 2024 14:57:44 +0100 Subject: eww: Remove calendar support --- .config/eww/eww.yuck | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to '.config/eww/eww.yuck') diff --git a/.config/eww/eww.yuck b/.config/eww/eww.yuck index 8937f26..285f7eb 100644 --- a/.config/eww/eww.yuck +++ b/.config/eww/eww.yuck @@ -5,7 +5,7 @@ (deflisten workspace-list :initial '[1]' `stdbuf -oL scripts/workspace-list-listener`) -(deflisten datetime :initial '{"pretty":"","month":0}' +(deflisten datetime `stdbuf -oL scripts/datetime-listener`) (deflisten brightness @@ -35,23 +35,6 @@ :geometry (geometry :width "100%" :height "40px" :anchor "top center") (bar)) -(defwindow calendar-1 - :monitor 0 - :geometry (geometry :x "10%" :width "20%" :anchor "center left") - (calendar :class "cal" - :month {datetime.month - 1})) - -(defwindow calendar-2 - :monitor 0 - :geometry (geometry :width "20%" :anchor "center") - (calendar :class "cal")) - -(defwindow calendar-3 - :monitor 0 - :geometry (geometry :x "10%" :width "20%" :anchor "center right") - (calendar :class "cal" - :month {datetime.month + 1})) - (defwidget bar [] (centerbox (start) @@ -84,7 +67,7 @@ id)))) (defwidget clock [] - {datetime.pretty}) + datetime) (defwidget wireless [] (pair :icon "" :text wireless)) -- cgit v1.2.3