feat: add network module to desktop

This commit is contained in:
Youwen Wu 2024-08-26 03:40:34 -07:00
parent f6400c8e64
commit a179835409
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 19 additions and 0 deletions

View file

@ -31,6 +31,7 @@
"idle_inhibitor"
"backlight"
"wireplumber"
"network"
"battery"
"disk"
"memory"
@ -47,6 +48,20 @@
};
};
network = {
format = "{ifname}";
format-wifi = "{icon}{essid}";
format-ethernet = " {essid}";
format-disconnected = "󰤯 Disconnected";
format-icons = [
"󰤟 "
"󰤢 "
"󰤨 "
];
tooltip-format = " {bandwidthUpBits} | {bandwidthDownBits}";
tooltip-format-wifi = " {bandwidthUpBits} | {bandwidthDownBits} | 󱄙 {signalStrength}";
};
backlight = {
interval = 2;
format = "󰖨 {percent}%";

View file

@ -65,3 +65,7 @@ window#waybar {
#temperature {
color: lightslategray;
}
#network {
color: lightsteelblue;
}