Add swap space to bar

This commit is contained in:
Salt 2024-06-01 15:48:45 -05:00
parent 215491a175
commit dbb6352564

View File

@ -33,7 +33,7 @@
"layer": "top",
"position": "bottom",
"height": 40,
"modules-left": ["idle_inhibitor", "gamemode", "cpu", "memory", "custom/backup", "battery", "mpris"],
"modules-left": ["idle_inhibitor", "gamemode", "cpu", "memory#memory", "memory#swap", "custom/backup", "battery", "mpris"],
"modules-center": [],
"modules-right": ["network", "pulseaudio", "backlight", "clock"],
"clock": {
@ -94,7 +94,7 @@
"regular": 50
}
},
"memory": {
"memory#memory": {
"interval": 5,
"format": " {percentage}%",
"states": {
@ -103,6 +103,15 @@
"regular": 50
}
},
"memory#swap": {
"interval": 5,
"format": " {swapPercentage}%",
"states": {
"critical": 90,
"warning": 80,
"regular": 50
}
},
"mpris": {
"interval": 1,
"artist-len": 30,