Rename example to dwm-bar

This commit is contained in:
Sravan Balaji
2024-03-30 09:42:41 -04:00
parent b607a73fb7
commit 39b410cd14
2 changed files with 18 additions and 18 deletions

View File

@@ -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 "<primary>"
: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

View File

@@ -1,12 +1,12 @@
(defwindow example
:monitor 0
:geometry (geometry :x "0%"
:y "20px"
:width "90%"
:height "30px"
(defwindow dwm-bar
:monitor "<primary>"
: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")