Add swap space to bar
This commit is contained in:
parent
215491a175
commit
dbb6352564
@ -33,7 +33,7 @@
|
|||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "bottom",
|
"position": "bottom",
|
||||||
"height": 40,
|
"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-center": [],
|
||||||
"modules-right": ["network", "pulseaudio", "backlight", "clock"],
|
"modules-right": ["network", "pulseaudio", "backlight", "clock"],
|
||||||
"clock": {
|
"clock": {
|
||||||
@ -94,7 +94,7 @@
|
|||||||
"regular": 50
|
"regular": 50
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory#memory": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"format": " {percentage}%",
|
"format": " {percentage}%",
|
||||||
"states": {
|
"states": {
|
||||||
@ -103,6 +103,15 @@
|
|||||||
"regular": 50
|
"regular": 50
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"memory#swap": {
|
||||||
|
"interval": 5,
|
||||||
|
"format": " {swapPercentage}%",
|
||||||
|
"states": {
|
||||||
|
"critical": 90,
|
||||||
|
"warning": 80,
|
||||||
|
"regular": 50
|
||||||
|
}
|
||||||
|
},
|
||||||
"mpris": {
|
"mpris": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"artist-len": 30,
|
"artist-len": 30,
|
||||||
|
Loading…
Reference in New Issue
Block a user