From 9eeaf1142d92e24edb96c14df54d8970833aee34 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 21 Jul 2022 22:19:51 +0200 Subject: [PATCH] Same --- polybar/conf.d/mod_network | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/polybar/conf.d/mod_network b/polybar/conf.d/mod_network index d5d0f83..08b00ca 100644 --- a/polybar/conf.d/mod_network +++ b/polybar/conf.d/mod_network @@ -1,4 +1,7 @@ -[modules/network_defaults] +[module/wired] +type = internal/network +interface = enp0s25 +interface-type = wired format-connected = format-disconnected = @@ -12,19 +15,20 @@ format-disconnected-prefix-foreground = ${colors.foreground-alt} label-connected = %ifname% : %local_ip% label-disconnected = %ifname%: not connected -[module/wired] -inherit = module/network_defaults -type = internal/network -interface = enp0s25 -interface-type = wired - [module/wireless] -inherit = module/network_defaults type = internal/network interface = wlp3s0 interface-type = wireless label-connected = %ifname%@%essid% : %local_ip% +format-connected = +format-disconnected = -format-charging-prefix = "PWR " -format-charging-prefix-foreground =${colors.foreground-alt} +format-connected-prefix = NW +format-disconnected-prefix = NW + +format-connected-prefix-foreground = ${colors.foreground-alt} +format-disconnected-prefix-foreground = ${colors.foreground-alt} + +label-connected = %ifname% : %local_ip% +label-disconnected = %ifname%: not connected