wm-logs/home/config/polybar/modules/ethernet.ini

32 lines
995 B
INI

[module/ethernet]
type = internal/network
interface = enp86s0
; 已连接
format-connected = <label-connected>
format-connected-prefix = ""
format-connected-prefix-foreground = ${color.green}
format-connected-prefix-background = ${color.altbackground}
format-connected-prefix-padding = 1
format-connected-prefix-font = 3
format-connected-foreground = ${color.accent}
format-connected-background = ${color.altbackground2}
format-connected-margin = 1
label-connected = " %local_ip% "
label-connected-font = 5
; 未连接
format-disconnected = <label-disconnected>
format-disconnected-prefix = ""
format-disconnected-prefix-foreground = ${color.green}
format-disconnected-prefix-background = ${color.altbackground}
format-disconnected-prefix-padding = 1
format-disconnected-prefix-font = 3
format-disconnected-foreground = ${color.accent}
format-disconnected-background = ${color.altbackground2}
format-disconnected-margin = 1
label-disconnected = " offline "
label-disconnected-font = 5
~~i3历险记~~, i3从入门到放弃, 转战bspwm
Shell 100%