diff options
-rw-r--r-- | .config/waybar/config.jsonc | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index f16d3b7..616b749 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -76,6 +76,16 @@ "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", "unknown-tag": "N/A", "interval": 5, + "on-click-middle": "mpc toggle", + "on-click": "mpc prev", + "on-click-right": "mpc next", + "state-icons": { + "paused": "", + "playing": "" + }, + "tooltip-format": "MPD (connected)", + "tooltip-format-disconnected": "MPD (disconnected)" + //"on-click": "st=$(mpc status | grep 'paused'); [ -z $st ] && mpc pause || mpc play", //"consume-icons": { // "on": " " //}, @@ -89,12 +99,6 @@ //"single-icons": { // "on": "1 " //}, - "state-icons": { - "paused": "", - "playing": "" - }, - "tooltip-format": "MPD (connected)", - "tooltip-format-disconnected": "MPD (disconnected)" }, "idle_inhibitor": { "format": "{icon}", @@ -163,12 +167,14 @@ }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface - "format-wifi": "{essid} ({signalStrength}%) ", - "format-ethernet": "{ipaddr}/{cidr} ", - "tooltip-format": "{ifname} via {gwaddr} ", + //"tooltip-format": "{ifname}: {ipaddr} via {gwaddr} ", + "format-wifi": " {essid} ({signalStrength}%)", + "format-ethernet": " {bandwidthDownBytes} | {bandwidthUpBytes}", + "tooltip-format": "{ifname}: {ipaddr}", "format-linked": "{ifname} (No IP) ", "format-disconnected": "Disconnected ⚠", - "format-alt": "{ifname}: {ipaddr}/{cidr}" + "format-alt": "{ifname}: {ipaddr}", + "interval": 5 }, "pulseaudio": { // "scroll-step": 1, // %, can be a float |