home/programs/waybar: add wifi strength as icon
This commit is contained in:
parent
c59622d0fe
commit
f7e78e3cea
1 changed files with 8 additions and 2 deletions
|
@ -129,14 +129,20 @@ in {
|
||||||
network = {
|
network = {
|
||||||
interface = "wlp1s0";
|
interface = "wlp1s0";
|
||||||
format = "{ifname}";
|
format = "{ifname}";
|
||||||
format-wifi = "({signalStrength}%) ";
|
format-wifi = "{icon}";
|
||||||
format-ethernet = "{ipaddr}/{cidr} ";
|
format-ethernet = "{ipaddr}/{cidr} ";
|
||||||
format-disconnected = "";
|
format-disconnected = "";
|
||||||
tooltip-format = "{ifname} via {gwaddr} ";
|
tooltip-format = "{ifname} via {gwaddr} ";
|
||||||
tooltip-format-wifi = "{essid} ({signalStrength}%) ";
|
tooltip-format-wifi = "{essid} ({signalStrength}%)";
|
||||||
tooltip-format-ethernet = "{ifname} ";
|
tooltip-format-ethernet = "{ifname} ";
|
||||||
tooltip-format-disconnected = "Disconnected";
|
tooltip-format-disconnected = "Disconnected";
|
||||||
max-length = 50;
|
max-length = 50;
|
||||||
|
format-icons = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue