add mpris waybar module

This commit is contained in:
Joel Mathew Thomas
2025-03-13 13:55:12 +05:30
parent 270b646739
commit 85be075628
2 changed files with 15 additions and 4 deletions
+12 -2
View File
@@ -4,13 +4,14 @@
"spacing": 5,
"modules-left": [
"group/group-cpu",
"hyprland/workspaces"
"hyprland/workspaces",
"mpris",
"cava"
],
"modules-center": [
"hyprland/window"
],
"modules-right": [
"cava",
"custom/pacman",
"gamemode",
"tray",
@@ -43,6 +44,15 @@
},
"sort-by-number": true
},
"mpris": {
"format": " {dynamic}",
"format-paused": "{ {dynamic}}",
"format-stopped": "",
"interval": 2,
"dynamic-order": ["title", "artist"],
"artist-len": 10,
"elipsis": "..."
},
"gamemode": {
"format": "{glyph}",
"format-alt": "{glyph} {count}",
+3 -2
View File
@@ -107,12 +107,13 @@ button {
#wireplumber,
#custom-pacman,
#tray,
#cava,
#mode,
#idle_inhibitor,
#scratchpad,
#mpd {
#mpris {
padding: 0 2px;
color: @text;
color: @lavender;
border-radius: 15px;
margin: 2px 0;
}