feat: transition for stopped and playing mpd widget

This commit is contained in:
2025-09-28 22:04:17 +03:00
parent 07eb65488c
commit 7978162b94
2 changed files with 21 additions and 18 deletions

View File

@@ -107,7 +107,7 @@
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)",
"format-stopped": "",
"format-stopped": " Stopping player...",
"on-click": "mpc toggle --password kapuchinamusica"
},
"idle_inhibitor": {
@@ -142,7 +142,7 @@
}
},
"cpu": {
"format": "󰓅 {load:2.0f}%",
"format": "󰓅 {usage}%",
"tooltip": false,
"interval": 3,
"format-icons": [
@@ -158,7 +158,7 @@
},
"memory#swap": {
"format": "󰋊 {swapPercentage}%",
"interval": 3,
"interval": 10,
"format-icons": [
"󰄰", "󰪞", "󰪟", "󰪠", "󰪡", "󰪢", "󰪣", "󰪤", "󰪥"
]
@@ -182,13 +182,13 @@
"warning": 30,
"critical": 18
},
"format": "{capacity}% {icon}",
"format-full": "{capacity}% {icon}",
"format-charging": "{capacity}% {icon}󱐋",
"format-plugged": "{capacity}% {icon}",
"format": "{icon} {capacity}%",
"format-full": "{icon} {capacity}%",
"format-charging": "{icon}󱐋 {capacity}%",
"format-plugged": "{icon} {capacity}%",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
"format-full": "󰋑",
"format-full": "󱈏",
"format-icons": ["󰂎", "", "", "󰁽", "", "󰁿", "", "󰂁", "󰂂", ""],
"tooltip-format": "{capacity}%, draws {power:2.1f}W, time is {time}"
},