diff --git a/de/home/.config/eww/eww.yuck b/de/home/.config/eww/eww.yuck index 5a1fec4..1a81b81 100644 --- a/de/home/.config/eww/eww.yuck +++ b/de/home/.config/eww/eww.yuck @@ -386,13 +386,4 @@ "${json.weather[0].mintempF}°F / ${json.weather[0].maxtempF}°F" "${json.current_condition[0].humidity}% humidity")) -(defwindow widgets - :windowtype "normal" - :exclusive false - :geometry (geometry :x "10px" - :y "10px" - :width "10px" - :height "10px" - :anchor "top left") - :stacking "bottom" - (widgets)) +(include "windows.yuck") diff --git a/de/home/.config/eww/windows.yuck b/de/home/.config/eww/windows.yuck new file mode 100644 index 0000000..62a6189 --- /dev/null +++ b/de/home/.config/eww/windows.yuck @@ -0,0 +1,25 @@ +;status bar + +(defwindow bar + :windowtype "dock" + :exclusive true + :geometry (geometry :x "0%" + :y "0%" + :width "100%" + :height "30px" + :anchor "top center") + :reserve (struts :side "top" :distance "4%") + (bar)) + +;desktop widgets + +(defwindow widgets + :windowtype "normal" + :exclusive false + :geometry (geometry :x "10px" + :y "10px" + :width "10px" + :height "10px" + :anchor "top left") + :stacking "bottom" + (widgets))