From eb38cfcf1c75b2c415b7dd110412ed6fd05bc007 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 11 Apr 2022 09:10:56 -0400 Subject: [PATCH] polybar: Add wifi module This makes it easy to see the amount of data being uploaded or downloaded at any given time. --- polybar/.config/polybar/config | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 5bf4cd5..08e5f15 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -1,5 +1,5 @@ # New Start: A modern Arch workflow built with an emphasis on functionality. -# Copyright (C) 2017-2018 Donovan Glover +# Copyright (C) 2017-2022 Donovan Glover [color] background = ${xrdb:background} @@ -15,7 +15,7 @@ background-alt = ${xrdb:color8} [bar/main] modules-left = bspwm modules-center = window -modules-right = cpu ram volume date time battery +modules-right = cpu ram volume wifi date time battery monitor = eDP wm-restack = bspwm @@ -112,6 +112,15 @@ label-song-maxlen = 100 label-song-ellipsis = true format-online =  +[module/wifi] +type = internal/network +interface-type = wireless +format-connected = +format-disconnected = + +label-connected =  %upspeed%  %downspeed% +label-disconnected = not connected + [module/volume] type = internal/pulseaudio label-volume =  %percentage%%