blob: 48cd6f31013aee2610b95760e3d599823c010cf3 (
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 = [
""
""
""
];
}
|