added eth module

nixos
Moritz Böhme 2021-04-19 12:10:22 +02:00
parent 3f966f378f
commit ad2a6f8c40
2 changed files with 9 additions and 1 deletions

View File

@ -347,7 +347,7 @@ font-0 = "NotoSans Nerd Font:size=11;0"
modules-left = cpu memory modules-left = cpu memory
modules-center = gme modules-center = gme
modules-right = wlan modules-right = wlan eth
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View File

@ -130,6 +130,14 @@ format-underline = ${colors.purple}
label = %date% %time% label = %date% %time%
[module/eth]
type = internal/network
interface = enp42s0
interval = 3.0
format-connected-underline = ${colors.purple}
label-connected = "%{T2}%{T-}%upspeed% %{T2}%{T-}%downspeed%"
[module/memory] [module/memory]
type = internal/memory type = internal/memory
interval = 2 interval = 2