summaryrefslogtreecommitdiff
path: root/.config/polybar/wlan.ini
blob: 69028dd79c3e00518c0f15c41ff8529886fafd9c (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[module/wlan]
type = internal/network

# Name of the network interface to display. You can get the names of the
# interfaces on your machine with `ip link`
# Wireless interfaces often start with `wl` and ethernet interface with `eno` or `eth`
interface = wlp6s0

# Seconds to sleep between updates
# Default: 1
interval = 1

# Test connectivity every Nth update
# A value of 0 disables the feature
# NOTE: Experimental (needs more testing)
# Default: 0
# ping-interval = 3

# @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%)
# Minimum output width of upload/download rate
# Default: 3
# udspeed-minwidth = 5

# Accumulate values from all interfaces
# when querying for up/downspeed rate
# Default: false
accumulate-stats = false

# Consider an `UNKNOWN` interface state as up.
# Some devices like USB network adapters have
# an unknown state, even when they're running
# Default: false
unknown-as-up = false

# Available tags:
#   <label-connected> (default)
#   <ramp-signal>
format-connected = <ramp-signal> <label-connected>
format-connected-prefix = " "
# format-connected-prefix-foreground = ${colors.foreground-alt}
format-connected-underline = ${colors.red}

# Available tags:
#   <label-disconnected> (default)
format-disconnected = <label-disconnected>
format-disconnected-prefix = " "
format-disconnected-underline = ${self.format-connected-underline}

# Available tags:
#   <label-connected> (default)
#   <label-packetloss>
#   <animation-packetloss>
format-packetloss = <label-connected> <label-packetloss>
format-packetloss-prefix = " "
format-packetloss-underline = ${self.format-connected-underline}

# All labels support the following tokens:
#   %ifname%    [wireless+wired]
#   %local_ip%  [wireless+wired]
#   %local_ip6% [wireless+wired]
#   %essid%     [wireless]
#   %signal%    [wireless]
#   %upspeed%   [wireless+wired]
#   %downspeed% [wireless+wired]
#   %linkspeed% [wired]

# Default: %ifname% %local_ip%
# label-connected = %essid%
label-connected =%downspeed%%upspeed%
# label-connected-foreground = #eefafafa

# Default: (none)
label-disconnected = (dc)
label-disconnected-foreground = ${colors.black-alt}

# Default: (none)
label-packetloss = (pl)
label-packetloss-foreground = ${colors.red}

# Only applies if <ramp-signal> is used
ramp-signal-0 =ramp-signal-1 =ramp-signal-2 =ramp-signal-3 =ramp-signal-4 =ramp-signal-5 =ramp-signal-6 =ramp-signal-7 =# ramp-signal-foreground = ${colors.foreground-alt}

# Only applies if <animation-packetloss> is used
animation-packetloss-0 =animation-packetloss-0-foreground = #ffa64c
animation-packetloss-1 = 📶
animation-packetloss-1-foreground = #000000
# Framerate in milliseconds
animation-packetloss-framerate = 500