forked from extern/nix-config
waybar: Add memory module
Note that this may be considered bloat but it's good for now. When focusing it's easy to press ctrl+o to hide waybar anyway.
This commit is contained in:
parent
b699e2b784
commit
ac6d609bf2
@ -2,7 +2,7 @@
|
||||
"height": 30,
|
||||
"modules-left": ["sway/workspaces", "sway/mode", "tray"],
|
||||
"modules-center": ["sway/window"],
|
||||
"modules-right": ["pulseaudio", "network", "backlight", "battery", "clock"],
|
||||
"modules-right": ["pulseaudio", "network", "backlight", "memory", "battery", "clock"],
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
@ -17,6 +17,10 @@
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": ["", ""]
|
||||
},
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {}%"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 20,
|
||||
|
@ -23,7 +23,7 @@ window#waybar {
|
||||
background: @color8;
|
||||
}
|
||||
|
||||
#mode, #pulseaudio, #network, #backlight, #clock, #battery {
|
||||
#mode, #pulseaudio, #network, #backlight, #memory, #clock, #battery {
|
||||
padding: 0 5px;
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user