diff options
author | David Runge <dave@sleepmap.de> | 2020-08-08 22:45:16 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2020-08-08 22:45:16 +0200 |
commit | 509652e54d3170b36ee27eeafeb1a14541dd7a97 (patch) | |
tree | 4e4b756a0f0be6b2cc71c47955a6fda0b5746533 | |
parent | 7e85f653ccf20bdc8a30dc037c56985d70b1abb4 (diff) | |
download | dotfiles-509652e54d3170b36ee27eeafeb1a14541dd7a97.tar.gz dotfiles-509652e54d3170b36ee27eeafeb1a14541dd7a97.tar.bz2 dotfiles-509652e54d3170b36ee27eeafeb1a14541dd7a97.tar.xz dotfiles-509652e54d3170b36ee27eeafeb1a14541dd7a97.zip |
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.
-rw-r--r-- | .config/waybar/config | 20 |
1 files changed, 10 insertions, 10 deletions
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": { |