diff --git a/README.org b/README.org index ba91dad..167da43 100644 --- a/README.org +++ b/README.org @@ -5,7 +5,7 @@ * Table of Contents :TOC_3:noexport: - [[#welcome][Welcome]] -- [[#widgets][Widgets]] +- [[#dwm-bar][DWM bar]] - [[#styling][Styling]] * Welcome @@ -19,21 +19,21 @@ Run the block below with ~C-c C-c~ to tangle code blocks to config file. (org-babel-tangle) #+END_SRC -* Widgets +* DWM bar #+BEGIN_SRC yuck :tangle eww.yuck -(defwindow example - :monitor 0 - :geometry (geometry :x "0%" - :y "20px" - :width "90%" - :height "30px" +(defwindow dwm-bar + :monitor "" + :geometry (geometry :x "0px" + :y "0px" + :width "100%" + :height "20px" :anchor "top center") :stacking "fg" - :reserve (struts :distance "40px" :side "top") + :reserve (struts :distance "0px" :side "top") :windowtype "dock" :wm-ignore false - "example content") + "dwm bar") #+END_SRC * Styling diff --git a/eww.yuck b/eww.yuck index 7b70028..d411ca9 100644 --- a/eww.yuck +++ b/eww.yuck @@ -1,12 +1,12 @@ -(defwindow example - :monitor 0 - :geometry (geometry :x "0%" - :y "20px" - :width "90%" - :height "30px" +(defwindow dwm-bar + :monitor "" + :geometry (geometry :x "0px" + :y "0px" + :width "100%" + :height "20px" :anchor "top center") :stacking "fg" - :reserve (struts :distance "40px" :side "top") + :reserve (struts :distance "0px" :side "top") :windowtype "dock" :wm-ignore false - "example content") + "dwm bar")