From 1cbcd5459cdf02ee8392525601e22e9305869b77 Mon Sep 17 00:00:00 2001 From: wzykubek Date: Sun, 24 Nov 2024 10:31:07 +0100 Subject: [PATCH] Add MPRIS module to waybar --- waybar/.config/waybar/config.jsonc | 5 +++++ waybar/.config/waybar/style.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/waybar/.config/waybar/config.jsonc b/waybar/.config/waybar/config.jsonc index 36cabdb..190b39f 100644 --- a/waybar/.config/waybar/config.jsonc +++ b/waybar/.config/waybar/config.jsonc @@ -20,6 +20,7 @@ "modules-right": [ "tray", + "mpris", "pulseaudio", "network", "group/hardware", @@ -109,5 +110,9 @@ }, "on-click": "pwvucontrol" }, + "mpris": { + "format": "{title} - {artist} ", + "format-paused": "{title} - {artist} " + } } } diff --git a/waybar/.config/waybar/style.css b/waybar/.config/waybar/style.css index 351f7a1..e77bc25 100644 --- a/waybar/.config/waybar/style.css +++ b/waybar/.config/waybar/style.css @@ -39,6 +39,7 @@ tooltip { #clock, #workspaces, #window, +#mpris, #pulseaudio, #network, #tray, @@ -93,6 +94,10 @@ tooltip { color: @gold; } +#mpris { + color: @foam; +} + #pulseaudio { color: @iris; }