From 509652e54d3170b36ee27eeafeb1a14541dd7a97 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 8 Aug 2020 22:45:16 +0200 Subject: waybar: Fix icons, add battery .config/waybar/config: Fix a few missing icons. Add battery module back and shuffle the modules around for ease-of-use. --- .config/waybar/config | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to '.config/waybar/config') diff --git a/.config/waybar/config b/.config/waybar/config index 90d6e3f..9ede531 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -2,7 +2,7 @@ "layer": "top", // Waybar at top layer "modules-left": ["sway/workspaces", "sway/mode"], "modules-center": ["sway/window"], - "modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "tray", "clock"], + "modules-right": ["mpd", "pulseaudio", "network", "cpu", "memory", "temperature", "battery", "backlight", "idle_inhibitor", "tray", "clock"], "sway/workspaces": { "disable-scroll": true, "all-outputs": true, @@ -29,8 +29,8 @@ "server": "localhost", "port": 6600, "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ", - "format-disconnected": "Disconnected ", - "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", + "format-disconnected": "Disconnected ☒", + "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ⏹", "unknown-tag": "N/A", "interval": 2, "consume-icons": { @@ -41,14 +41,14 @@ "on": " " }, "repeat-icons": { - "on": " " + "on": "🗘" }, "single-icons": { - "on": "1 " + "on": "" }, "state-icons": { - "paused": "", - "playing": "" + "paused": "⏯", + "playing": "⯈" } }, "idle_inhibitor": { @@ -68,18 +68,18 @@ "format-alt": "{:%Y-%m-%d}" }, "cpu": { - "format": "{usage}% ", + "format": "CPU {usage}%", "tooltip": false }, "memory": { - "format": "{}% " + "format": "RAM {}%" }, "temperature": { // "thermal-zone": 2, // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "critical-threshold": 80, // "format-critical": "{temperatureC}°C {icon}", - "format": "{temperatureC}°C {icon}", + "format": "{temperatureC}°C", "format-icons": ["", "", ""] }, "backlight": { -- cgit v1.2.3-70-g09d2