blob: f20121f82879cef9085caf90db62bfc3af01ff9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ config, mkIcon }:
with config.scheme.withHashtag;
let
iconColor = base0B;
downloadIcon = mkIcon base0F "";
uploadIcon = mkIcon base0F "";
in
{
interval = 2;
format-wifi = "${mkIcon iconColor "{icon}"} ${downloadIcon}{bandwidthDownBytes} ${uploadIcon}{bandwidthUpBytes}";
format-ethernet = "${mkIcon iconColor ""} ${downloadIcon}{bandwidthDownBytes} ${uploadIcon}{bandwidthUpBytes}";
format-disconnected = "${mkIcon iconColor ""} Disconnected";
tooltip-format = "{ifname}";
tooltip-format-wifi = "{essid} ({signalStrength}%)";
tooltip-format-ethernet = "Wired: {ipaddr}";
tooltip-format-disconnected = "Disconnected";
format-icons = [
""
""
""
];
}
|