dotfiles/polybar/conf.d/mod_network
2022-07-21 22:27:59 +02:00

31 lines
836 B
Text

[module/wired]
type = internal/network
interface = enp0s25
interface-type = wired
format-connected = <label-connected>
format-disconnected = <label-disconnected>
format-connected-prefix = "NW "
format-disconnected-prefix = "NW "
format-connected-prefix-foreground = ${colors.darkgrey}
format-disconnected-prefix-foreground = ${colors.darkgrey}
label-connected = %ifname% @ %local_ip%
label-disconnected = %ifname%: not connected
[module/wireless]
type = internal/network
interface = wlp3s0
interface-type = wireless
label-connected = %ifname% @ %essid% @ %local_ip%
format-connected = <label-connected>
format-disconnected = <label-disconnected>
format-connected-prefix = "NW "
format-disconnected-prefix = "NW "
format-connected-prefix-foreground = ${colors.darkgrey}
format-disconnected-prefix-foreground = ${colors.darkgrey}