From ea9c4c1fa3ec9ebd964f7c9623ad20ec78a5527b Mon Sep 17 00:00:00 2001 From: candifloss Date: Tue, 6 Aug 2024 07:48:07 +0530 Subject: [PATCH] created panel window --- eww/yuck/panel/README.md | 3 +++ eww/yuck/panel/panel_widg.yuck | 2 ++ eww/yuck/panel/panel_window.yuck | 19 +++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 eww/yuck/panel/README.md create mode 100644 eww/yuck/panel/panel_widg.yuck create mode 100644 eww/yuck/panel/panel_window.yuck diff --git a/eww/yuck/panel/README.md b/eww/yuck/panel/README.md new file mode 100644 index 0000000..945c4c7 --- /dev/null +++ b/eww/yuck/panel/README.md @@ -0,0 +1,3 @@ +# Panel + +This can be used as a topbar(or a bottom or side bar, as per preferences, with minimal modifications in the config) \ No newline at end of file diff --git a/eww/yuck/panel/panel_widg.yuck b/eww/yuck/panel/panel_widg.yuck new file mode 100644 index 0000000..ecc1caf --- /dev/null +++ b/eww/yuck/panel/panel_widg.yuck @@ -0,0 +1,2 @@ +(defwidget panel_widg +) \ No newline at end of file diff --git a/eww/yuck/panel/panel_window.yuck b/eww/yuck/panel/panel_window.yuck new file mode 100644 index 0000000..d36018c --- /dev/null +++ b/eww/yuck/panel/panel_window.yuck @@ -0,0 +1,19 @@ +(include "yuck/panel/panel_widg.yuck") + +(defwindow panel + :monitor 0 + :windowtype "dock" + :wm-ignore true + :stacking "fg" + :halign "end" + :valign "end" + :geometry + (geometry + :anchor "top center" + :x "0%" + :y "0%" + :height "2.5%" + :width "100%" + ) + (panel_widg) +) \ No newline at end of file