62 lines
1.9 KiB
Plaintext
62 lines
1.9 KiB
Plaintext
|
; If you use both a wired and a wireless network, add both modules in config.
|
||
|
[module/ethernet]
|
||
|
type = internal/network
|
||
|
interface = ${system.network_interface}
|
||
|
|
||
|
interval = 1.0
|
||
|
accumulate-stats = true
|
||
|
unknown-as-up = true
|
||
|
|
||
|
format-connected = <label-connected>
|
||
|
format-connected-prefix = " "
|
||
|
format-connected-prefix-font = 3
|
||
|
format-connected-prefix-foreground = #3B414D
|
||
|
format-connected-prefix-background = #7AA2F7
|
||
|
|
||
|
format-disconnected = <label-disconnected>
|
||
|
format-disconnected-prefix = " ﲁ "
|
||
|
format-disconnected-prefix-font = 3
|
||
|
format-disconnected-prefix-foreground = #3B414D
|
||
|
format-disconnected-prefix-background = #7AA2F7
|
||
|
|
||
|
label-connected = "%{A1:sh ~/.config/bspwm/rofi/bin/network &:} %downspeed% %upspeed% %{A}"
|
||
|
label-connected-background = #353B45
|
||
|
label-connected-foreground = #7EC7A2
|
||
|
|
||
|
label-disconnected = "%{A1:sh ~/.config/bspwm/rofi/bin/network &:} Offline %{A}"
|
||
|
label-disconnected-background = #353B45
|
||
|
label-disconnected-foreground = #7EC7A2
|
||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||
|
|
||
|
[module/network]
|
||
|
type = internal/network
|
||
|
interface = ${system.network_interface}
|
||
|
interval = 1.0
|
||
|
;;ping-interval = 3
|
||
|
;;udspeed-minwidth = 5
|
||
|
accumulate-stats = true
|
||
|
unknown-as-up = true
|
||
|
|
||
|
format-connected = <ramp-signal><label-connected>
|
||
|
format-disconnected = <label-disconnected>
|
||
|
format-disconnected-prefix = " 睊 "
|
||
|
format-disconnected-prefix-font = 3
|
||
|
format-disconnected-prefix-foreground = #3B414D
|
||
|
format-disconnected-prefix-background = #7AA2F7
|
||
|
|
||
|
label-connected = "%{A1:nmd &:} %essid% %{A}"
|
||
|
label-connected-foreground = #7AA2F7
|
||
|
label-connected-background = #353B45
|
||
|
label-disconnected = "%{A1:nmd &:} Disconnected %{A}"
|
||
|
label-disconnected-foreground = #7AA2F7
|
||
|
label-disconnected-background = #353B45
|
||
|
|
||
|
ramp-signal-0 = " "
|
||
|
ramp-signal-1 = " "
|
||
|
ramp-signal-2 = " "
|
||
|
ramp-signal-3 = " "
|
||
|
ramp-signal-4 = " "
|
||
|
ramp-signal-font = 3
|
||
|
ramp-signal-foreground = #3B414D
|
||
|
ramp-signal-background = #7AA2F7
|