added mpris settings to waybar

This commit is contained in:
2025-07-11 14:10:42 +02:00
parent ff37269ac4
commit 51b9f927bd

View File

@@ -1,11 +1,7 @@
{
// general bar settings
"layer": "bottom",
"output": [
"DP-1",
"DP-2",
"!HDMI-A-2"
],
"output": ["DP-1", "DP-2", "!HDMI-A-2"],
"position": "bottom",
"mod": "dock",
"exclusive": true,
@@ -13,13 +9,8 @@
"passthrough": false,
"height": 32,
// which modules to show
"modules-left": [
"hyprland/workspaces"
],
"modules-center": [
"mpris",
"privacy"
],
"modules-left": ["hyprland/workspaces"],
"modules-center": ["mpris", "privacy"],
"modules-right": [
"cpu",
"memory",
@@ -53,6 +44,19 @@
"format": "<span color=\"#4F84CC\">󰋊</span> <span color=\"#CAD3E8\">{percentage_used}%</span>",
"tooltip": true,
},
"mpris": {
"format": "{player_icon} {dynamic}",
"format-paused": "{status_icon} <i>{dynamic}</i>",
"dynamic-len": 50,
"ellipsis": "…",
"player-icons": {
"default": "▶",
"mpv": "🎵",
},
"status-icons": {
"paused": "⏸",
},
},
"network": {
// only show the Wi-Fi glyph on wifi…
"format-wifi": "<span color=\"#4F84CC\"></span> <span color=\"#CAD3E8\">{essid} ({signalStrength}%)</span>",
@@ -73,10 +77,7 @@
"alsa_output.usb-SteelSeries_Arctis_7_-00.analog-stereo": "", // SteelSeries headset
"alsa_output.pci-0000_0a_00.4.iec958-stereo": "", // speaker icon for your soundbar
"bluez_output.50_5E_5C_2D_F3_B2.1": "", // Bluetooth earbud icon
"default": [
"",
""
], // fallback (low/hi)
"default": ["", ""], // fallback (low/hi)
},
},
"bluetooth": {