Add mpris module

This commit is contained in:
RealStickman 2023-05-01 17:32:50 +02:00
parent 4f4971e2e8
commit 899a0165fa

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,