feat: a seperate bar section for cpu, ram and swap
This commit is contained in:
@@ -5,20 +5,21 @@
|
||||
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
||||
"height": 30, // Waybar height (to be removed for auto height)
|
||||
// "width": 1280, // Waybar width
|
||||
"spacing": 4, // Gaps between modules (4px)
|
||||
"spacing": 0, // Gaps between modules (4px)
|
||||
// Choose the order of the modules
|
||||
"modules-left": [
|
||||
"hyprland/workspaces"
|
||||
"hyprland/workspaces",
|
||||
"cpu",
|
||||
"memory",
|
||||
"memory#swap"
|
||||
],
|
||||
"modules-center": [
|
||||
"mpd"
|
||||
],
|
||||
"modules-right": [
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"cpu",
|
||||
"memory",
|
||||
"battery",
|
||||
"network",
|
||||
"tray",
|
||||
"clock"
|
||||
],
|
||||
@@ -141,13 +142,26 @@
|
||||
}
|
||||
},
|
||||
"cpu": {
|
||||
"format": "{usage} ",
|
||||
"format": " {load:2.0f}%",
|
||||
"tooltip": false,
|
||||
"interval": 3
|
||||
"interval": 3,
|
||||
"format-icons": [
|
||||
"", "", "", "", "", "", "", "", ""
|
||||
]
|
||||
},
|
||||
"memory": {
|
||||
"format": "{} ",
|
||||
"interval": 3
|
||||
"format": " {percentage}%",
|
||||
"interval": 3,
|
||||
"format-icons": [
|
||||
"", "", "", "", "", "", "", "", ""
|
||||
]
|
||||
},
|
||||
"memory#swap": {
|
||||
"format": " {swapPercentage}%",
|
||||
"interval": 3,
|
||||
"format-icons": [
|
||||
"", "", "", "", "", "", "", "", ""
|
||||
]
|
||||
},
|
||||
"temperature": {
|
||||
// "thermal-zone": 2,
|
||||
@@ -168,14 +182,15 @@
|
||||
"warning": 30,
|
||||
"critical": 18
|
||||
},
|
||||
"format": "{capacity} {icon}",
|
||||
"format-full": "{capacity} {icon}",
|
||||
"format-charging": "{capacity} ",
|
||||
"format-plugged": "{capacity} ",
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-full": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% {icon}",
|
||||
"format-plugged": "{capacity}% {icon}",
|
||||
"format-alt": "{time} {icon}",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
"format-full": "",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
"format-full": "",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
||||
"tooltip-format": "{capacity}%, draws {power:2.1f}W, time is {time}"
|
||||
},
|
||||
"battery#bat2": {
|
||||
"bat": "BAT2"
|
||||
@@ -193,30 +208,27 @@
|
||||
},
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": "{signalStrength} 直",
|
||||
"format-wifi": "{icon}",
|
||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||
"tooltip-format": "{essid} {ifname} via {gwaddr} ",
|
||||
"format-linked": "{ifname} (No IP) ",
|
||||
"format-disconnected": "睊",
|
||||
"format-disconnected": "",
|
||||
"format-icons": [
|
||||
"", "", "", "", ""
|
||||
],
|
||||
"on-click": "hyprctl dispatch exec, [float; move center] kitty -e nmtui"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
"format": "{format_source}{volume} {icon}",
|
||||
"format-bluetooth": "{format_source}{volume} ",
|
||||
"format": "{format_source} {volume}%",
|
||||
"format-bluetooth": "{format_source} {volume}%",
|
||||
"format-bluetooth-muted": "{format_source} ",
|
||||
"format-muted": "{format_source} ",
|
||||
"format-muted": "",
|
||||
"format-source": "",
|
||||
"format-source-muted": " ",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
//"hands-free": "",
|
||||
//"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"format-icons": [
|
||||
"", "", "", "", "", "", "", "", ""
|
||||
],
|
||||
"on-click": "pwvucontrol"
|
||||
},
|
||||
"custom/media": {
|
||||
|
||||
Reference in New Issue
Block a user