From 0a2b876abaef41c858ba05bc8a5dee3be47d2958 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Wed, 23 Dec 2020 06:11:46 -0700 Subject: Add wifi module and tune ethernet --- .config/polybar/wlan.ini | 97 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 .config/polybar/wlan.ini (limited to '.config/polybar/wlan.ini') 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: +# (default) +# +format-connected = +format-connected-prefix = " " +# format-connected-prefix-foreground = ${colors.foreground-alt} +format-connected-underline = ${colors.red} + +# Available tags: +# (default) +format-disconnected = +format-disconnected-prefix = " " +format-disconnected-underline = ${self.format-connected-underline} + +# Available tags: +# (default) +# +# +format-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 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 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 -- cgit v1.2.3-54-g00ecf