diff --git a/.config/waybar/config.jsonc##hostname.cn-arch b/.config/waybar/config.jsonc##hostname.cn-arch
index db04fc5..40d4bef 100644
--- a/.config/waybar/config.jsonc##hostname.cn-arch
+++ b/.config/waybar/config.jsonc##hostname.cn-arch
@@ -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": " {percentage_used}%",
"tooltip": true,
},
+ "mpris": {
+ "format": "{player_icon} {dynamic}",
+ "format-paused": "{status_icon} {dynamic}",
+ "dynamic-len": 50,
+ "ellipsis": "…",
+ "player-icons": {
+ "default": "▶",
+ "mpv": "🎵",
+ },
+ "status-icons": {
+ "paused": "⏸",
+ },
+ },
"network": {
// only show the Wi-Fi glyph on wifi…
"format-wifi": " {essid} ({signalStrength}%)",
@@ -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": {