forked from mirrors_public/oddlama_nix-config
feat: add battery icon to waybar and add wifi status
This commit is contained in:
parent
78904fed18
commit
79e1e782c4
2 changed files with 23 additions and 9 deletions
|
@ -42,7 +42,7 @@
|
|||
#"temperature"
|
||||
"cpu"
|
||||
"memory"
|
||||
#"battery"
|
||||
"battery"
|
||||
|
||||
"custom/notification"
|
||||
"clock"
|
||||
|
@ -119,6 +119,16 @@
|
|||
# escape = true;
|
||||
#};
|
||||
|
||||
battery = {
|
||||
interval = 2;
|
||||
format = "{icon} {capacity}%";
|
||||
format-icons = ["" "" "" "" "" "" "" "" ""];
|
||||
states = {
|
||||
warning = 25;
|
||||
critical = 15;
|
||||
};
|
||||
};
|
||||
|
||||
privacy = {
|
||||
icon-spacing = 4;
|
||||
icon-size = 18;
|
||||
|
@ -200,7 +210,8 @@
|
|||
network = {
|
||||
interval = 5;
|
||||
format-ethernet = " {ipaddr}/{cidr} <span color='#ffead3'>↓ {bandwidthDownBytes}</span> <span color='#ecc6d9'>↑ {bandwidthUpBytes}</span>";
|
||||
format-disconnected = "⚠ Disconnected";
|
||||
format-wifi = " {signalStrength}% {essid} {ipaddr}/{cidr} <span color='#ffead3'>↓ {bandwidthDownBytes}</span> <span color='#ecc6d9'>↑ {bandwidthUpBytes}</span>";
|
||||
format-disconnected = "⚠ Disconnected";
|
||||
tooltip-format = "↑ {bandwidthUpBytes}\n↓ {bandwidthDownBytes}";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue