From ae5f50068e0e6be9277a0b74435ba9a825f31eac Mon Sep 17 00:00:00 2001 From: candifloss Date: Thu, 3 Sep 2026 16:36:03 +0530 Subject: [PATCH] Use config variable for panel width --- ewwii.css | 2 +- nbcl/panel/panel_component.nbcl | 1 + nbcl/panel/panel_window.nbcl | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ewwii.css b/ewwii.css index 94956ed..8e8f999 100644 --- a/ewwii.css +++ b/ewwii.css @@ -11,5 +11,5 @@ background-color: rgba(72, 150, 98, 0.733); padding: 0 0.2em; font-size: 14px; - font-family: "JetBrainsMono Nerd Font,JetBrainsMono NF"; + font-family: "Fragment Mono"; } diff --git a/nbcl/panel/panel_component.nbcl b/nbcl/panel/panel_component.nbcl index d82b384..87877d7 100644 --- a/nbcl/panel/panel_component.nbcl +++ b/nbcl/panel/panel_component.nbcl @@ -7,6 +7,7 @@ component EwwiiPanel () { class = "ewwii_panel" height = config.panel_height width = config.panel_width + space_evenly = false DateTimeWidg "paneldatewidg" { widgname = "paneldatewidg" diff --git a/nbcl/panel/panel_window.nbcl b/nbcl/panel/panel_window.nbcl index 3dd4428..afe3576 100644 --- a/nbcl/panel/panel_window.nbcl +++ b/nbcl/panel/panel_window.nbcl @@ -9,8 +9,8 @@ Window "ewwii_panel" { anchor = "top center" x = "0px" y = "0px" - height = config.panel_height.to_string() +"px" - width = "100%" + height = config.panel_height.to_string() + "px" + width = config.panel_width.to_string() + "px" } reserve = { distance = config.panel_height.to_string() +"px"