From c18c3c1df4c7b3ca721f7ee6278ffddff93dc95a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 14 Sep 2023 22:56:05 +0200 Subject: eww: Reformat yuck code --- .config/eww/eww.yuck | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to '.config') diff --git a/.config/eww/eww.yuck b/.config/eww/eww.yuck index df4495b..667c717 100644 --- a/.config/eww/eww.yuck +++ b/.config/eww/eww.yuck @@ -26,26 +26,26 @@ ;; Windows (defwindow bar - :monitor 0 - :stacking "fg" - :exclusive true - :geometry (geometry :width "100%" :height "40px" :anchor "top center") + :monitor 0 + :stacking "fg" + :exclusive true + :geometry (geometry :width "100%" :height "40px" :anchor "top center") (bar)) (defwindow calendar-1 - :monitor 0 - :geometry (geometry :x "10%" :width "20%" :anchor "center left") + :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") + :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") + :monitor 0 + :geometry (geometry :x "10%" :width "20%" :anchor "center right") (calendar :class "cal" :month {datetime.month + 1})) @@ -65,23 +65,23 @@ (box :halign "end" :class "end" :space-evenly false - (keymap) - (wireless) - (brightness) - (volume) - (battery))) + (keymap) + (wireless) + (brightness) + (volume) + (battery))) (defwidget workspaces [] (box :class "workspaces" :space-evenly false - (for id in workspace-list - (button :class {active-workspace == id ? "active" : ""} - :onclick `hyprctl dispatch workspace ${id}` - id)))) + (for id in workspace-list + (button :class {active-workspace == id ? "active" : ""} + :onclick `hyprctl dispatch workspace ${id}` + id)))) (defwidget clock [] (box (button :onclick `scripts/toggle calendar-1 calendar-2 calendar-3` - {datetime.pretty}))) + {datetime.pretty}))) (defwidget wireless [] (pair :icon "" :text wireless)) @@ -101,5 +101,5 @@ (defwidget pair [icon text] (box :width 70 :space-evenly false - (label :text icon) - (label :text text))) + (label :text icon) + (label :text text))) -- cgit v1.2.3