From 8e79ec48230167552a203a8ddf3764be50cac5e9 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 2 Nov 2022 14:52:40 +0100 Subject: [PATCH] Removed commented code from waybar config --- waybar/.config/waybar/config | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/waybar/.config/waybar/config b/waybar/.config/waybar/config index a631902..1f800a2 100644 --- a/waybar/.config/waybar/config +++ b/waybar/.config/waybar/config @@ -1,25 +1,9 @@ { - "layer": "top", // Waybar at top layer - "height": 25, // Waybar height (to be removed for auto height) + "layer": "top", + "height": 25, "modules-left": ["sway/workspaces" ], "modules-center": ["custom/org-pomodoro", "clock"], "modules-right": ["mpd", "network", "pulseaudio", "battery", "battery#bat2"], - // Modules configuration - // "sway/workspaces": { - // "disable-scroll": true, - // "all-outputs": true, - // "format": "{name}: {icon}", - // "format-icons": { - // "1": "", - // "2": "", - // "3": "", - // "4": "", - // "5": "", - // "urgent": "", - // "focused": "", - // "default": "" - // } - // }, "mpd": { "format": "{stateIcon} {title}", "format-disconnected": "", @@ -35,7 +19,9 @@ }, "tooltip-format": "{elapsedTime:%H:%M:%S}/{totalTime:%H:%M:%S}", "tooltip-format-disconnected": "MPD (disconnected)", - "title-len": 50 + "title-len": 50, + "on-click": "mpc toggle", + "on-click-right": "mpc stop" }, "clock": { "format": "{:%a %d %b %H:%M}", @@ -52,7 +38,6 @@ "format-charging": " {capacity}%", "format-plugged": " {capacity}%", "format-alt": "{time} {icon}", - // "format-good": "", // An empty format will hide the module "format-full": " 100%", "format-icons": ["", "", ""] }, @@ -67,12 +52,10 @@ "format-charging": " {capacity}%", "format-plugged": " {capacity}%", "format-alt": "{time} {icon}", - // "format-good": "", // An empty format will hide the module "format-full": " 100%", "format-icons": ["", "", ""] }, "network": { - // "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": "{icon} {essid}", "format-ethernet": " Connected", "format-linked": "{ifname} (No IP) ", @@ -83,7 +66,6 @@ "tooltip-format-disconnected": "Offline" }, "pulseaudio": { - // "scroll-step": 1, // %, can be a float "format": "{icon} {volume}%", "format-muted": "", "format-icons": {