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