summaryrefslogtreecommitdiff
path: root/.config/polybar/wlan.ini
diff options
context:
space:
mode:
Diffstat (limited to '.config/polybar/wlan.ini')
-rw-r--r--.config/polybar/wlan.ini97
1 files changed, 97 insertions, 0 deletions
diff --git a/.config/polybar/wlan.ini b/.config/polybar/wlan.ini
new file mode 100644
index 0000000..69028dd
--- /dev/null
+++ b/.config/polybar/wlan.ini
@@ -0,0 +1,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