From e47d43d6ca8901863f7b688ee78b79e97a43b6b5 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 18 Apr 2020 20:28:57 +0200 Subject: Removin battery info, fixing mpd .config/waybar/config: Removing the battary status from modules-right, as it's very annoying if there's no battery. Fixing the mpd module by removing the format and the tooltips (they seemed to lead to crashes). Adding server and port information. --- .config/waybar/config | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to '.config/waybar') diff --git a/.config/waybar/config b/.config/waybar/config index fe7b1b8..90d6e3f 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", "battery", "battery#bat2", "backlight", "tray", "clock"], + "modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "tray", "clock"], "sway/workspaces": { "disable-scroll": true, "all-outputs": true, @@ -26,7 +26,8 @@ "format": "{}" }, "mpd": { - //"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ", + "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 ", @@ -48,9 +49,7 @@ "state-icons": { "paused": "", "playing": "" - }, - "tooltip-format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ", - "tooltip-format-disconnected": "MPD (disconnected)" + } }, "idle_inhibitor": { "format": "{icon}", -- cgit v1.2.3-70-g09d2