From 0402c048a37c2510b67e3303aee7cc08a7c98737 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Fri, 11 Nov 2022 14:43:14 +0100 Subject: [PATCH] [Newm] Prettier bar icons --- .config/newm/config.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/newm/config.py b/.config/newm/config.py index 56030b4..dfe66f9 100644 --- a/.config/newm/config.py +++ b/.config/newm/config.py @@ -221,12 +221,12 @@ def unread_emails() -> str: def cpu_usage() -> str: cpu: str = format(psutil.cpu_percent(interval=None), ".1f") - return f"CPU: {cpu}%" + return f" {cpu}%" def mem_usage() -> str: mem: str = format(psutil.virtual_memory().percent, ".1f") - return f"RAM: {mem}%" + return f" {mem}%" def right_text() -> str: @@ -256,13 +256,14 @@ panels = { "launcher": {"cmd": "kitty -e newm-panel-basic launcher"}, "top_bar": { "native": { + "font": "JetBrainsMono Nerd Font", "enabled": True, "texts": lambda: [ "", center_text(), right_text(), ], - } + }, }, "bottom_bar": { "native": {