Re-enable idle_inhibitor and add mpris integration to see media player status, move window title to the left

This commit is contained in:
Alex D. 2024-12-06 07:53:05 +00:00
parent 81b3109c53
commit 19cd410f5b
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 17 additions and 6 deletions

View File

@ -4,13 +4,14 @@
"spacing": 0,
"height": 16,
"modules-left": [
"dwl/tags"
],
"modules-center": [
"dwl/tags",
"dwl/window"
],
"modules-center": [],
"modules-right": [
"pulseaudio",
"idle_inhibitor",
"wireplumber",
"mpris",
"load",
"memory",
"temperature",
@ -24,6 +25,16 @@
"dwl/window": {
"all-outputs": true
},
"mpris": {
"format": "{dynamic}"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"clock": {
"interval": 1,
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",

View File

@ -57,6 +57,6 @@ window#waybar {
#memory {
background-color: rgba(255, 128, 32, 0.5);
}
#wireplumber {
background-color: rgba(255, 255, 255, 0.25);
#mpris {
background-color: rgba(169, 47, 233, 0.5);
}