commit: ca7c9361ce84193b05cbdb0863864f764c2007e9
parent: afc3ad9e4b2c8e82b45ffb5924018217b91da5be
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 21 Jun 2019 07:55:12 +0200
waybar/config: formatting & icons
Diffstat:
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/.config/waybar/config b/.config/waybar/config
@@ -1,22 +1,23 @@
{
"layer": "bottom", // Allow dmenu to be on top
- "modules-left": [ "sway/workspaces", "sway/mode" ], "modules-center": [ "sway/window" ],
+ "modules-left": [ "sway/workspaces", "sway/mode" ],
+ "modules-center": [ "sway/window" ],
"modules-right":
[
"tray",
"mpd",
"network",
- "cpu",
"memory",
+ "cpu",
"temperature",
"backlight",
"battery",
"clock",
"idle_inhibitor"
],
- "sway/workspaces": {"all-outputs": true}, "mpd": {
- "format":
- "{stateIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})",
+ "sway/workspaces": {"all-outputs": true},
+ "mpd": {
+ "format": "{stateIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})",
"format-disconnected": "Disconnected",
"format-stopped": "Stopped",
"unknown-tag": "N/A",
@@ -32,13 +33,13 @@
"spacing": 10
},
"clock": {"tooltip-format": "{:%A %d %B, %Y}", "format": "{:%FT%T%z}"},
- "cpu": {"format": "CPU: {usage}%"}, "memory": {"format": "RAM: {}%"},
+ "cpu": {"format": "CPU: {}%"},
+ "memory": {"format": "RAM: {}%"},
"temperature": {
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 62,
// "format-critical": "{temperatureC}°C {icon}",
- "format": "{temperatureC}°C {icon}",
- "format-icons": [ "", "", "" ]
+ "format": "{temperatureC}°C"
},
"backlight": {
// "device": "acpi_video1",