From 296ca97a055423c1dc5e3384d4dcd360222143fc Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Thu, 20 Feb 2020 12:10:13 -0500 Subject: [PATCH] Added ethernet option to polybar --- .config/polybar/config | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 4637a386..83b6cd05 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -7,7 +7,7 @@ blue = #83a598 darkyellow = #d79921 foreground = #ebdbb2 gray = #928374 -green = #b8bb26 +green = #20c723 orange = #ffa500 red = #ff0000 white = #ebdbb2 @@ -109,12 +109,12 @@ label = %{A1:google-chrome-stable https\://calendar.google.com >/dev/null 2>&1 & [module/ethernet] type = internal/network -interface = eth1 +interface = ens4u1u2 interval = 3.0 format-connected-underline = ${colors.green} format-connected-prefix-foreground = ${colors.gray} -label-connected = %local_ip% +label-connected = %local_ip% %upspeed% %downspeed% format-disconnected = format-disconnected-underline = ${colors.red} @@ -193,7 +193,7 @@ bar-volume-empty-foreground = ${colors.gray} [module/wifi] type = internal/network -interface = wlp2s0 +interface = wlo1 interval = 3.0 format-connected = @@ -208,7 +208,9 @@ label-disconnected-foreground = ${colors.gray} margin-bottom = 5 margin-top = 5 -[module/xwindow] -format-foreground = ${colors.blue} -label = %title:0:100:...% -type = internal/xwindow +#[module/xwindow] +#format-foreground = ${colors.blue} +#label = %title:0:100:...% +#type = internal/xwindow +#label-maxlen = 20 +