From 26d7c1b5fe861c0359fe1c0d1f1019933b9c995c Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 1 May 2023 17:32:50 +0200 Subject: [PATCH] Add mpris module --- nixos-config/home-manager/config/waybar/config.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nixos-config/home-manager/config/waybar/config.json b/nixos-config/home-manager/config/waybar/config.json index da059a7f..4e15fe61 100644 --- a/nixos-config/home-manager/config/waybar/config.json +++ b/nixos-config/home-manager/config/waybar/config.json @@ -13,6 +13,7 @@ ], "modules-center": ["wlr/window"], "modules-right": [ + "mpris", "mpd", "idle_inhibitor", "pulseaudio", @@ -44,6 +45,16 @@ "format": "{}", "separate-outputs": true }, + "mpris": { + "format": "DEFAULT: {player_icon} {dynamic}", + "format-paused": "DEFAULT: {status_icon} {dynamic}", + "player-icons": { + "default": "▶" + }, + "status-icons": { + "paused": "⏸" + } + }, "sway/workspaces": { "disable-scroll": true,