From 6cf2a43c2c7c03ba19e38ac4c3876915e9e37c58 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 26 May 2024 02:54:26 -0400 Subject: [PATCH] update: waybar --- waybar/themes/ml4w-blur-custom/modules.json | 18 +++++++++++++----- waybar/themes/ml4w-blur-custom/style.css | 10 +++++++++- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/waybar/themes/ml4w-blur-custom/modules.json b/waybar/themes/ml4w-blur-custom/modules.json index 4d1640b..2228c41 100644 --- a/waybar/themes/ml4w-blur-custom/modules.json +++ b/waybar/themes/ml4w-blur-custom/modules.json @@ -246,21 +246,27 @@ // END CLOCK FORMAT }, - // System - "custom/system": { - "format": "", + // spacer + "custom/spacer": { + "format": " ", + "tooltip": false + }, + + // div + "custom/div": { + "format": " | ", "tooltip": false }, // CPU "cpu": { - "format": "󰒇 {usage}%", + "format": "󰒇 {usage}% ", "on-click": "alacritty -e htop" }, // Memory "memory": { - "format": " {used:0.1f}G", + "format": " {used:0.1f}G ", "on-click": "alacritty -e htop" }, @@ -281,7 +287,9 @@ "orientation": "inherit", "modules": [ "cpu", + "div", "memory", + "div", "network" ] }, diff --git a/waybar/themes/ml4w-blur-custom/style.css b/waybar/themes/ml4w-blur-custom/style.css index 0250786..f206c5e 100644 --- a/waybar/themes/ml4w-blur-custom/style.css +++ b/waybar/themes/ml4w-blur-custom/style.css @@ -295,7 +295,15 @@ window#waybar.empty #window { opacity:0.8; } */ -#groups +#hardware { + background-color: @backgroundlight; + font-size: 16px; + color: @textcolor2; + border-radius: 15px; + padding: 2px 10px 0px 10px; + margin: 8px 10px 8px 0px; + opacity:0.8; +} #language { margin-right:10px;