From b607a73fb7008ac435acdfcaa432aeee0cad81fa Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sat, 30 Mar 2024 09:03:32 -0400 Subject: [PATCH] Initial Commit with Example Window --- README.org | 42 ++++++++++++++++++++++++++++++++++++++++++ eww.scss | 1 + eww.yuck | 12 ++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 README.org create mode 100644 eww.scss create mode 100644 eww.yuck diff --git a/README.org b/README.org new file mode 100644 index 0000000..ba91dad --- /dev/null +++ b/README.org @@ -0,0 +1,42 @@ +#+TITLE: Personal EWW Configuration +#+AUTHOR: Sravan Balaji +#+AUTO_TANGLE: t +#+STARTUP: showeverything + +* Table of Contents :TOC_3:noexport: +- [[#welcome][Welcome]] +- [[#widgets][Widgets]] +- [[#styling][Styling]] + +* Welcome + +My personal configuration of EWW, written as an [[https://orgmode.org][Org Mode]] document. + +Run the block below with ~C-c C-c~ to tangle code blocks to config file. + +#+BEGIN_SRC emacs-lisp :tangle no +(org-mode-restart) +(org-babel-tangle) +#+END_SRC + +* Widgets + +#+BEGIN_SRC yuck :tangle eww.yuck +(defwindow example + :monitor 0 + :geometry (geometry :x "0%" + :y "20px" + :width "90%" + :height "30px" + :anchor "top center") + :stacking "fg" + :reserve (struts :distance "40px" :side "top") + :windowtype "dock" + :wm-ignore false + "example content") +#+END_SRC + +* Styling + +#+BEGIN_SRC scss :tangle eww.scss +#+END_SRC diff --git a/eww.scss b/eww.scss new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/eww.scss @@ -0,0 +1 @@ + diff --git a/eww.yuck b/eww.yuck new file mode 100644 index 0000000..7b70028 --- /dev/null +++ b/eww.yuck @@ -0,0 +1,12 @@ +(defwindow example + :monitor 0 + :geometry (geometry :x "0%" + :y "20px" + :width "90%" + :height "30px" + :anchor "top center") + :stacking "fg" + :reserve (struts :distance "40px" :side "top") + :windowtype "dock" + :wm-ignore false + "example content")