Add mpris module

This commit is contained in:
RealStickman 2023-05-01 17:32:50 +02:00
parent d6ddee511b
commit 26d7c1b5fe

View File

@ -13,6 +13,7 @@
], ],
"modules-center": ["wlr/window"], "modules-center": ["wlr/window"],
"modules-right": [ "modules-right": [
"mpris",
"mpd", "mpd",
"idle_inhibitor", "idle_inhibitor",
"pulseaudio", "pulseaudio",
@ -44,6 +45,16 @@
"format": "{}", "format": "{}",
"separate-outputs": true "separate-outputs": true
}, },
"mpris": {
"format": "DEFAULT: {player_icon} {dynamic}",
"format-paused": "DEFAULT: {status_icon} <i>{dynamic}</i>",
"player-icons": {
"default": "▶"
},
"status-icons": {
"paused": "⏸"
}
},
"sway/workspaces": { "sway/workspaces": {
"disable-scroll": true, "disable-scroll": true,