dotfiles/polybar/conf.d/mod_network

31 lines
765 B
Text
Raw Normal View History

2022-07-21 22:18:02 +02:00
[modules/network_defaults]
format-connected = <label-connected>
format-disconnected = <label-disconnected>
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
[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-charging-prefix = "PWR "
format-charging-prefix-foreground =${colors.foreground-alt}