From ac3d20e809b4e3702e5ccd3799168c2820568489 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Thu, 2 Sep 2021 20:32:20 +0200 Subject: [PATCH] Waybar config modification --- config/waybar/config | 33 ++++++++++++++++++--------------- config/waybar/style.css | 2 +- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/config/waybar/config b/config/waybar/config index aa887ec..8203c0c 100644 --- a/config/waybar/config +++ b/config/waybar/config @@ -4,7 +4,7 @@ "disable-toolptips": true, "modules-left": ["sway/workspaces", "sway/mode"], "modules-center": [], - "modules-right": ["network", "temperature", "cpu", "backlight", "battery", "pulseaudio", "clock", "tray"], + "modules-right": ["network", "temperature", "memory", "cpu", "backlight", "battery", "pulseaudio", "clock", "tray"], "sway/mode": { "format": "{}" }, @@ -26,15 +26,15 @@ "temperature": { "thermal-zone": 0, "critical-threshold": 80, - "format": "{temperatureC}°C " + "format": "{temperatureC}°C  |" }, "cpu": { - "format": "{usage}% ", + "format": "{usage}%  |", "tooltip": false }, "backlight": { //"device": "intel_backlight", - "format": "{percent}% {icon}", + "format": "{percent}% {icon} |", "format-icons": ["", ""], "tooltip": false }, @@ -53,18 +53,18 @@ }, "network": { "tooltip": false, - "format-wifi": "{essid} ({signalStrength}%) ", - "format-ethernet": "{ifname}: {ipaddr}/{cidr} ", - "format-linked": "{ifname} (No IP) ", - "format-disconnected": "Disconnected ⚠", - "format-alt": "{ifname}: {ipaddr}/{cidr}" + "format-wifi": "{essid} ({signalStrength}%)  |", + "format-ethernet": "{ifname}: {ipaddr}/{cidr}  |", + "format-linked": "{ifname} (No IP)  |", + "format-disconnected": "Disconnected ⚠ |", + "format-alt": "{ifname}: {ipaddr}/{cidr} |" }, "pulseaudio": { "tooltip": false, - "format": "{volume}% {icon}", - "format-bluetooth": "{volume}% {icon}", - "format-muted": "", - "format-source": "{volume}% ", + "format": "{volume}% {icon} |", + "format-bluetooth": "{volume}% {icon} |", + "format-muted": "婢", + "format-source": "{volume}%  |", "format-source-muted": "", "format-icons": { "headphones": "", @@ -73,8 +73,11 @@ "phone": "", "portable": "", "car": "", - "default": ["", "", ""] + "default": "墳" } + }, + "memory": { + "interval": 30, + "format": "{used:0.1f}G/{total:0.1f}G " } - } diff --git a/config/waybar/style.css b/config/waybar/style.css index 86e856a..982241e 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -2,7 +2,7 @@ border: none; border-radius: 0; font-family: "FuraCode Nerd Font"; - font-size: 13px; + font-size: 16px; min-height:0; }