add mpris waybar module
This commit is contained in:
@@ -4,13 +4,14 @@
|
|||||||
"spacing": 5,
|
"spacing": 5,
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"group/group-cpu",
|
"group/group-cpu",
|
||||||
"hyprland/workspaces"
|
"hyprland/workspaces",
|
||||||
|
"mpris",
|
||||||
|
"cava"
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"hyprland/window"
|
"hyprland/window"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"cava",
|
|
||||||
"custom/pacman",
|
"custom/pacman",
|
||||||
"gamemode",
|
"gamemode",
|
||||||
"tray",
|
"tray",
|
||||||
@@ -43,6 +44,15 @@
|
|||||||
},
|
},
|
||||||
"sort-by-number": true
|
"sort-by-number": true
|
||||||
},
|
},
|
||||||
|
"mpris": {
|
||||||
|
"format": " {dynamic}",
|
||||||
|
"format-paused": "{ {dynamic}}",
|
||||||
|
"format-stopped": "",
|
||||||
|
"interval": 2,
|
||||||
|
"dynamic-order": ["title", "artist"],
|
||||||
|
"artist-len": 10,
|
||||||
|
"elipsis": "..."
|
||||||
|
},
|
||||||
"gamemode": {
|
"gamemode": {
|
||||||
"format": "{glyph}",
|
"format": "{glyph}",
|
||||||
"format-alt": "{glyph} {count}",
|
"format-alt": "{glyph} {count}",
|
||||||
|
|||||||
@@ -107,12 +107,13 @@ button {
|
|||||||
#wireplumber,
|
#wireplumber,
|
||||||
#custom-pacman,
|
#custom-pacman,
|
||||||
#tray,
|
#tray,
|
||||||
|
#cava,
|
||||||
#mode,
|
#mode,
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
#scratchpad,
|
#scratchpad,
|
||||||
#mpd {
|
#mpris {
|
||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
color: @text;
|
color: @lavender;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
margin: 2px 0;
|
margin: 2px 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user