This commit is contained in:
Michael Grote 2022-07-21 22:19:51 +02:00
parent 758aacbec3
commit 9eeaf1142d

View file

@ -1,4 +1,7 @@
[modules/network_defaults] [module/wired]
type = internal/network
interface = enp0s25
interface-type = wired
format-connected = <label-connected> format-connected = <label-connected>
format-disconnected = <label-disconnected> format-disconnected = <label-disconnected>
@ -12,19 +15,20 @@ format-disconnected-prefix-foreground = ${colors.foreground-alt}
label-connected = %ifname% : %local_ip% label-connected = %ifname% : %local_ip%
label-disconnected = %ifname%: not connected label-disconnected = %ifname%: not connected
[module/wired]
inherit = module/network_defaults
type = internal/network
interface = enp0s25
interface-type = wired
[module/wireless] [module/wireless]
inherit = module/network_defaults
type = internal/network type = internal/network
interface = wlp3s0 interface = wlp3s0
interface-type = wireless interface-type = wireless
label-connected = %ifname%@%essid% : %local_ip% label-connected = %ifname%@%essid% : %local_ip%
format-connected = <label-connected>
format-disconnected = <label-disconnected>
format-charging-prefix = "PWR " format-connected-prefix = NW
format-charging-prefix-foreground =${colors.foreground-alt} 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