dotfiles/polybar/conf.d/mod_network

32 lines
836 B
Text
Raw Normal View History

2022-07-21 22:19:51 +02:00
[module/wired]
type = internal/network
interface = enp0s25
interface-type = wired
2022-07-21 22:18:02 +02:00
format-connected = <label-connected>
format-disconnected = <label-disconnected>
2022-07-21 22:21:01 +02:00
format-connected-prefix = "NW "
format-disconnected-prefix = "NW "
2022-07-21 22:18:02 +02:00
2022-07-21 22:27:59 +02:00
format-connected-prefix-foreground = ${colors.darkgrey}
format-disconnected-prefix-foreground = ${colors.darkgrey}
2022-07-21 22:18:02 +02:00
2022-07-21 22:21:54 +02:00
label-connected = %ifname% @ %local_ip%
2022-07-21 22:18:02 +02:00
label-disconnected = %ifname%: not connected
[module/wireless]
type = internal/network
interface = wlp3s0
interface-type = wireless
2022-07-21 22:22:12 +02:00
label-connected = %ifname% @ %essid% @ %local_ip%
2022-07-21 22:18:02 +02:00
2022-07-21 22:19:51 +02:00
format-connected = <label-connected>
format-disconnected = <label-disconnected>
2022-07-21 22:18:02 +02:00
2022-07-21 22:21:54 +02:00
format-connected-prefix = "NW "
format-disconnected-prefix = "NW "
2022-07-21 22:19:51 +02:00
2022-07-21 22:27:59 +02:00
format-connected-prefix-foreground = ${colors.darkgrey}
format-disconnected-prefix-foreground = ${colors.darkgrey}