[waybar] added cpu, memory and disk indicator
This commit is contained in:
parent
d54984a4d8
commit
a420a6fd3b
@ -36,7 +36,10 @@ tooltip {
|
||||
#battery,
|
||||
#backlight,
|
||||
#clock,
|
||||
#cpu,
|
||||
#disk,
|
||||
#network,
|
||||
#memory,
|
||||
#pulseaudio,
|
||||
#workspaces,
|
||||
#custom-hypridle,
|
||||
@ -86,24 +89,26 @@ tooltip {
|
||||
#backlight,
|
||||
#battery,
|
||||
#custom-wireguard,
|
||||
#cpu,
|
||||
#memory,
|
||||
#network,
|
||||
#pulseaudio {
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
font-size: 20px;
|
||||
font-size: 18px;
|
||||
margin-right: -3px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
#custom-wireguard {
|
||||
#disk {
|
||||
border-radius: 10px 0px 0px 10px;
|
||||
font-size: 20px;
|
||||
font-size: 18px;
|
||||
margin-left: 10px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
#custom-hypridle {
|
||||
border-radius: 0px 10px 10px 0px;
|
||||
font-size: 20px;
|
||||
font-size: 18px;
|
||||
margin-left: 0px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
@ -21,6 +21,9 @@
|
||||
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"disk",
|
||||
"cpu",
|
||||
"memory",
|
||||
"custom/wireguard",
|
||||
"network",
|
||||
"pulseaudio",
|
||||
@ -61,6 +64,11 @@
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 2,
|
||||
"format": " {usage:2}%"
|
||||
},
|
||||
|
||||
"custom/hypridle": {
|
||||
"interval": 1,
|
||||
"format": "{} ",
|
||||
@ -75,6 +83,12 @@
|
||||
"on-click": "$HOME/.dotfiles/apps/wireguard/wireguard.sh switch"
|
||||
},
|
||||
|
||||
"disk": {
|
||||
"interval": 10,
|
||||
"path": "/",
|
||||
"format": " {percentage_used}%",
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": "{}"
|
||||
},
|
||||
@ -97,6 +111,12 @@
|
||||
}
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 2,
|
||||
"format": " {}%",
|
||||
"tooltip-format": "{used:0.1f}GB / {total:0.1f}GB",
|
||||
},
|
||||
|
||||
"network": {
|
||||
"tooltip": true,
|
||||
"format-wifi": " ",
|
||||
|
Reference in New Issue
Block a user