mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
feat: add network module to desktop
This commit is contained in:
parent
f6400c8e64
commit
a179835409
2 changed files with 19 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
||||||
"idle_inhibitor"
|
"idle_inhibitor"
|
||||||
"backlight"
|
"backlight"
|
||||||
"wireplumber"
|
"wireplumber"
|
||||||
|
"network"
|
||||||
"battery"
|
"battery"
|
||||||
"disk"
|
"disk"
|
||||||
"memory"
|
"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 = {
|
backlight = {
|
||||||
interval = 2;
|
interval = 2;
|
||||||
format = " {percent}%";
|
format = " {percent}%";
|
||||||
|
|
|
@ -65,3 +65,7 @@ window#waybar {
|
||||||
#temperature {
|
#temperature {
|
||||||
color: lightslategray;
|
color: lightslategray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#network {
|
||||||
|
color: lightsteelblue;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue